TL;DR Under certain circumstances, dynamically defined symbols may break keyword arguments in Ruby 2.2. This was fixed in Ruby...
It is a common misunderstanding that all [op]=-operators work the same way, but actually they don't. ||= and &&=
In RSpec you can tag examples or example groups with any tags you like simply by saying describe ReportCreator, slow...
If you want to grow a Ruby Array, you might find out about #fill but it is not really what...
# Given the following models class Image < ActiveRecord::Base has_many :album_images has_many :albums, through: :album_images
Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...
When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.
You know that ActiveRecord caches associations so they are not loaded twice for the same object. You also know that...
Now supports RSpec 3 and Rails 4 Drops support for state_machine, which has some issues with Rails 4 and...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
RSpec 3 has verifying doubles. This breed of mock objects check that any methods being stubbed are present on an...
You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...
The debate between using mixins or extends in Sass has been heating up recently. From the surface it appears they...
To achieve this goal you have to setup the session store like the following example: MyApp::Application.config.session_store( :cookie_store...
This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...
Obviously, you only can do this for your own sites. You need to authenticate a domain you want to remove...
Gem to show failing specs instantly. Unlike the --fail-fast option it doesn't abort abort on the first failure...
When running migrations with rake db:migrate, there's the STEP and VERSION parameters that you can pass to nearly...
TL;DR Block formatting contexts establish an isolating container. float and clear only apply to elements within such a container...
tldr; Use git diff -M or git diff --find-renames when you've moved a few files around. Usage
Flickraw is a library to access flickr api in a simple way. It maps exactly the methods described in the...
To only stub a method call if a given argument is used, but use the default implementation for other arguments...
Using uncountable resources is not recommended as it breaks Rails' magic, e.g. when using form_for. You'll always be...