The most obvious way to use spring is to call it explicitly: spring rails console spring rake db:migrate...
See screenshot here. This is great news because network throttling is very painful in Linux. The features are already in...
Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...
When you cannot make Selenium trigger events you rely on (e.g. a "change" event when filling in a form field...
You need this awkward command: page.driver.browser.action.move_to(page.find(selector).native).perform Note that there are better ways for newer Capybaras...
"Keyword arguments" allow naming method arguments (optionally setting a default value). By using the double-splat operator, you can collect...
As you know, assignable_values does not invalidate a record even when an attribute value becomes unassignable. See this example...
Travis CI is a free continuous integration testing service. However, it is really fragile and will break more than it...
When you tell rbenv to install a Ruby it does not know about, you will get an error message.
RSpec 3.0 deprecates the :should way of writing specs for expecting things to happen. However, if you have tests you...
When you have a string containing umlauts which don't behave as expected (are not matched with a regexp, can...
Sometimes you're getting an ActiveSupport deprecation warning that you cannot or don't want to fix. In these cases...
Warnings like those below may originate from rspec or shoulda-matchers or other gems that have not updated yet to...
SimpleForm is a great approach to simplifying your forms, and it comes with lots of well-defined input types. However...
When your Rails controller action responds with only a simple text, render text: 'Hello' may not be what you want...
I use this to simulate the (non-existing) :last-letter CSS pseudoclass, e. g. to insert a tombstone at the...
Since version 34, Chromium/Chrome ignores the autocomplete="off" attribute on forms or input fields. Recent versions of other browser do...
The error unexpected 'x' after 'DESCENDANT_SELECTOR' (Nokogiri::CSS::SyntaxError) (where x may be basically any character) occurs when the...
There are 3 built-in file descriptors: stdin, stdout and stderr (std=standard). (You can define your own, see the...
config.action_controller.action_on_unpermitted_parameters enables logging or raising an exception if parameters that are not explicitly permitted are...
When using @media CSS queries, Internet Explorer 8 and below will fail to respect them. Though there are several options...
Edge Rider gives your relations a method #origin_class that returns the class the relation is based on.
React.js is a relatively new Javascript templating engine that has two-way-bindings like AngularJS or Batman. The interesting idea...
Spring is a Rails application preloader. When debugging e.g. the rails gem, you'll be wondering why your raise, puts...