power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered...
There are many different methods that allow mapping an Array to a Hash in Ruby. Array#to_h with a...
Do that for noble reasons only.
Getting started with Ruby extensions in C.
If you want to rename a key of a Ruby hash, this could help you out. Just put it into...
delocalize provides localized date/time and number parsing functionality for Rails.
First of all: You could just use RVM which would make the pain go away. If for some reason you...
You can use the whatlanguage gem to detect the language of a Ruby string. Note that it also has not...
This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to...
Call with the server's hostname (and user if you have no SSH agent), e.g. install-gems-remotely my.server.com
There are two distinct ways of commenting Haml markup: HTML and Ruby. HTML comments This will create an HTML comment...
This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...
Our gem Mail Magnet allows you to override e-mail recipients in ActionMailer so all mails go to a given...
There will probably be better solutions as we become more experienced with using Bundler, and more command line tools become...
Rails 3, 4, 5, 6 config/application.rb config/environment.rb before the initialize! call (we don't usually edit this file)
The state_machine gem ships with a scope with_state. This scope has some problems in complex queries or scope...
Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.
Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...
Boolean attributes can now be set by appending "which", "that" or "who" at the end: Given there is a movie...
When working with times and dates in Rails applications, you need to deal with the following problem: In Rails, Time...
rjb is a bridge software. It connects Ruby and Java.
You can write regular expressions some different ways, e.g. /regex/ and %r{regex}. For examples, look here. Remember that it...
popthis is awesome when used with inaction_mailer. Setup inaction_mailer Install the gem: sudo gem install popthis
Capybara does not play nice with sites that have some actions protected by SSL, some not. A popular way to...