For some reason you want to define a find condition in array form. And in that condition both column name...
When using virtual attributes, the attached trait can be useful to automatically copy errors from one attribute to another.
power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered...
To only run a single describe/context block in a long spec, you can say spec spec/models/note_spec.rb:545 ... where the describe...
When Paperclip attachments should only be downloadable for selected users, there are three ways to go. The same applies to...
Do that for noble reasons only.
This will show you how to create a RSS feed that the Feed Validator considers valid. Note that RSS is...
The CSS Emoticons plugin is a simple jQuery plugin (and stylesheet) that allows you to turn any text emoticons on...
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...
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.
Attached are two (32 and 64 bit) .deb packages from 2011-08-12, kindly built by Kim...
You can use the whatlanguage gem to detect the language of a Ruby string. Note that it also has not...
Be careful! The following solution will delete files on a volume. If you don't know exactly what you're...
When you load a record with find options that have SQL fragments in :select or :joins, ActiveRecord will make that...
Physical servers worked, EC2 did not.
Cached fonts WILL caused an unstyled flash of text.
In a great post about named routes in Rails, path vs. url, Viget Labs ponders which variant is best used...
This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to...
Captify is a plugin for jQuery written by Brian Reavis (@brianreavis) to display simple, pretty image captions that appear on...
Capistrano task for Bundler.
This post explains, in some detail, how we will implement a nice performance boost for Rails developers. Understanding the details...
A jQuery plugin that sets a div or span to show a countdown to a given time