If you previously used version 2.x of Thunderbird and upgraded to 3.x (for example through an Ubuntu release...
Hooks lets you define hooks declaratively in your ruby class. You can add callbacks to your hook, which will be...
Ruby gem that provides an AR-style interface for the Pivotal Tracker API.
Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11
Cucumber step argument transforms can be a powerful way to make your steps more flexible. Note however that if your...
It’s pretty common for projects hosted on GitHub to receive “pull requests”: requests from people who have cloned your...
Find conditions for scopes can be given either as an array (:conditions => ['state = ?', 'draft']) or a hash (:conditions => { 'state' => 'draft...
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...
This will show you how to create a RSS feed that the Feed Validator considers valid. Note that RSS is...
In modern Rails versions you can also use ActiveRecord's pluck method. User.active.pluck(:id) => [1, 5, 23, 42]
In july Google announced a new version of their image serach tool Google Images. But you won't find it...
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...
This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to...
Capistrano task for Bundler.
Expiration of Rails sessions By default Rails sessions expire when the user closes her browser window. To change this edit...
Since RubyMine 3.1 you can drag tabs across panes/windows and out of the main window to create new windows.
sudo apt-get install i8kutils Reboot You can now run the i8k tools such as i8kmon Setting the fan speed...
Call with the server's hostname (and user if you have no SSH agent), e.g. install-gems-remotely my.server.com
There will probably be better solutions as we become more experienced with using Bundler, and more command line tools become...
If you added a file by mistake, you can unstage it (but keep local changes) by saying git reset HEAD...
Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.
Sometimes you want to fetch associations for an ActiveRecord that you already loaded, e.g. when it has deeply nested associations...