Sometimes you want one distinct version of RubyGems to be installed to replicate the same behavior across multiple servers.

makandra dev
github.com

Use the command geordi migrate to migrate your databases and to prepare them before running tests. The abbrevation geordi m...

Our gitpt script to generate git commits from Pivotal Tracker stories has been tweaked and polished and is now part...

github.com

Note: capistrano_colors was merged into Capistrano starting from v2.13.5. However, this requires Ruby 1.9+. If you cannot upgrade Capistrano...

If you're using Paperclip to store and convert images attached to your models, processing a lot of images will...

If you get this error while deploy and you are sure the Gemfile.lock is in the version control check your...

github.com

When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...

github.com

When Rack::Bug has been added to your project and your Apache2/Passenger only replies with an Error 500 (Internal Server...

sequel.rubyforge.org

Seems like a useful gem for cases where ActiveRecord is overkill but you don't want to do everything by...

rails-erd.rubyforge.org

Gem to generate entity relationship diagrams from your Rails 3 ActiveRecord models. The diagram style is pretty and configurable.

For performance improvements (and to remove the need for eager loading), the ActsAsTaggableOn gem supports caching your tag lists directly...

blog.carbonfive.com

I still see people promoting various gems and plugins to handle miscellaneous configuration elements for your application. One little known...

beginrescueend.com

To use different Ruby versions on your computer you can use the Ruby Version Manager. It also allows you to...

"Classic" Excel (XLS) has a magic limit of 65535 rows per worksheet. This was fixed in XLSX but the version...

When you have objects in your database that hold latitude and longitude and you want to find others that are...

You have to specify the environment with -e env_name or RAILS_ENV=env_name if you want to run...

ActiveSupport's memoize has a dangerous feature you might not know about. Assume you have class DeepThought extend ActiveSupport::Memoizable...

If you get an error like this: Unable to launch /home/bruce/Projects/myproject/tmp/capybara/capybara-201110311210111407691101.html ... update your launchy gem. It failed for us in...

After starting the Rails server in a freshly generated Rails 3.1 project you could see an error message such as...

Clearance is a gem that provides authentication functionality (e.g. login, logout). This note explains, how the clearance login, logout and...

danhixon.github.com

If you encounter the error message above when running cucumber, just execute... rm rerun.txt ...in the Rails directory.

First keep in mind that :dependent => :destroy hooks into before_destroy. So when you use other before_destroy callbacks the...

In order to monitor a Rake task using God your Rake file must write a file with its process ID...

github.com

Looks simpler than inaction_mailer: gem install mailcatcher mailcatcher Setup Rails to send mails to 127.0.0.1:1025. Usually you want...