Ruby 1.9.2 is very slow when loading files, especially starting Rails servers or running specs takes forever.
Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...
The Rails community has been abuzz with object-oriented programming, SOLID principles, laws, design patterns, and other principles, practices, and...
Recent rails security updates have shown that people make incorrect assumptions about the possible contents of the params hash.
This sounds promising: The best part from the Rails side, is that you don’t have to change anything at...
If you're suffering from a huge de.yml or similiar file, cry no more. Rails lets you freely organize your...
Last week saw a security issue with rails 2.3 that required a fix. While an official patch was provided, the...
If you have a file that looks like a precompilation fingerprint, the Rails asset pipeline will not see it. So...
When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...
The following code activates autoloading using ActiveSupport 3.x: require 'active_support' require 'active_support/dependencies' relative_load_paths = %w[app/controllers...
Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...
Consider the following HTML & CSS: ^ img { background-color: red; } div { border: 1px solid black; } This will leave a margin of...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
There is now a solution.
Using beginning_of_day or end_of_day on Date or DateTime objects in Rails 2.x applications will never...
Today, this line made me trouble. Can you spot the mistake? match 'sitemap.xml' => 'feeds#sitemap', :constraints => { :format => 'xml' }, :as => 'sitemap...
Slides presenting ways to integrate the ideas of Aspect-Oriented Programming in Ruby. Outline Why Aspect-Oriented Programming?
If you get an error like this ... can’t find executable rails for rails-3.2.3 (Gem::Exception) ... one of several...
How to call routes, make requests and try out helpers from the Rails console.
I got these warnings while deploying a Rails 3.2 app with asset pipeline enabled: *** [err :: host.tld] find: `/opt/www/hollyapp.com/releases/20120503115342/public/images': No such...
A small library to provide the Rails I18n translations in Javascript clients.
An association defined with has_many :through will return the same record multiple times if multiple join models for the...
After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...
This card needs to be updated for Rails 3+. Since there is no --debugger flag you need to run: