Talking with APIs makes more fun using Postman. As an alternative you can also use command line tools like cURL...
Our preferred way of testing ActiveRecord is to simply create/update/destroy the record and then check if the expected behavior has...
Validations should be covered by a model's spec. This card shows how to test an individual validation. This is...
If you expect method calls in RSpec 3, be aware that the argument matchers use very liberal equality rules (more...
A HTTP 302 Found redirect to PATCH and DELETE requests will be followed with PATCH or DELETE. Redirect responses to...
Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation
The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...
When using Sidekiq in your application, you must write thread-safe code. This wiki page also lists gems that are...
There are different ways to define a lambda or proc in ruby. [*] with lambda keyword test = lambda do |arg|
A very informative and interesting presentation about browsing performance, looking at efforts Google Chrome takes to increase it.
You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...
git rebase -i -> mark your commit with edit git reset HEAD~ (remove the marked commit, but keep its...
By pressing Ctrl + Shift + V you can select a recently copied string for pasting.
Ruby has a set of methods to convert an object to another representation. Most of them come in explicit and...
Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...
Some browsers define window.event, which will return a copy of the "current" event. However, this is not defined by the...
This is a guide on how to effectively use Git when working on a feature branch. It is designed to...
Starting with Ruby 1.9, most #each methods can be called without a block, and will return an enumerator. This is...
To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...
If the project team consists of at least 2 members, do a daily standup. It should not take much longer...
We organize our daily work with issues in our Linear workspace. Issue format A good issue needs to be precise...
When working on a bigger project, the easiest way to improve your work relation with a client or an external...
When starting a project we always make a good estimate of all known requirements, and plan budgets and available developers...
Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.