Impressive set of design guidelines from Google.
So you're getting an error message like the following, although your Gemfile lists shoulda-matchers and it has always...
Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...
An all-in-approach to fix the problem of pending AJAX requests dying in the browser when the server ends...
For me guard recently took a very long to start (as in "minutes"), because I had lots of images in...
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...
A little-known feature of modern Regexp engines that help when optimizing a pattern that will be matched against long...
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...
ActiveRecord caches results of SQL queries. If you want to discard the cached results for one model, you can call...
SimpleForm is a great approach to simplifying your forms, and it comes with lots of well-defined input types. However...
So you want your Ruby script to install missing gems instead of dying? Take this method: def installing_missing_gems...
This is a great tutorials for beginners and intermediate AngularJS developers. It covers a lot of ground, including routing and...
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...
If you parse this Yaml ... yes: 'Totally' no: 'Nope' ... you get this Ruby hash: { true: 'Totally', false: 'Nope' }
You are probably using Ruby 1.8.7 with a too recent versions of Rubygems. Downgrade your Rubygems to the latest version...
There are 3 built-in file descriptors: stdin, stdout and stderr (std=standard). (You can define your own, see the...
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...