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...
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features
Add gem 'database_cleaner' to your Gemfile. Then: Cucumber & Rails 3+ # features/support/database_cleaner.rb DatabaseCleaner.clean_with(:deletion) # clean once, now DatabaseCleaner.strategy = :transaction...
When a gem author releases a new version to Rubygems, usually a tag with the version number (e.g. v1.2.0) is...
ImageMagick takes a string with several options when cropping an image. See the command line options for how to provide...
In the tradition of our PostgreSQL cheat sheet for MySQL lamers, here is a cheat sheet for Jasmine when you...
Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...
When testing code that uses pushState / replaceState, your browser will appear to navigate away from http://localhost:3000/specs (or wherever...
Run bundle update cucumber capybara cucumber-rails to update to the newest versions. Backup your features/support/path.rb to be able to...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...
Rails guide that covers PostgreSQL-specific column types and usages for Active Record. You should especially keep in mind the...