You don't need a Rails application to use Sass. Even when you're working on a static site you...
With its you can switch the subject of an example to a method value of the current subject: describe Array...
It’s pretty common for projects hosted on GitHub to receive “pull requests”: requests from people who have cloned your...
Because they are vector, it would make sense if we could do things that other vector programs (e.g. Adobe Illustrator...
This will not work (it always passes): Then the "Title" field should contain "" The value is turned into a regular...
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...