Simply give the select helper an option :disabled, passing either a single value or an array. You need to specify...
If you parse this Yaml ... yes: 'Totally' no: 'Nope' ... you get this Ruby hash: { true: 'Totally', false: 'Nope' }
dusen 0.4.8 and edge_rider 0.2.3 no longer depend on Rails (they still depend on ActiveRecord). That means you can use them e.g. with Sinatra...
When you run rake db:create and get this error message Couldn't create database for {"encoding"=>"utf8", "username"=>"root...
Code example for implementing Cross-Origin Resource Sharing (CORS) in Rails...
...identity map for ActiveRecord. Ruby 1.8.x support will be dropped with or after Rails...
There is a problem with AJAX response handling for Rails 3 remote links and forms in Internet Explorer. This problem affects applications still using jQuery...
SSL in Rails 3 is non-obvious...
This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to one file for production...
...post explains, in some detail, how we will implement a nice performance boost for Rails developers. Understanding the details might help gain the full benefits of the optimization, but you...
...walk you through the I18n API and contains a tutorial how to internationalize a Rails application from the start...
YAML List of all translations currently available in Rails
List of Rails releases...
I just finished reviewing Rails 2.3 Nested Object Forms. While a very nice and “magical” feature, I’ve got to admit that I’m really not that crazy about how...
This article is an introduction to testing Rails plugins...
...the plain unit test suite supplied by Ruby, and not any of the extended Rails test framework. This will leave our plugin’s test classes with no access to fixtures...
Central point to collect locale data for use in Ruby on Rails...
...version I needed to do an awkward thing that only affected development mode, where Rails unloads all classes after each request. run_later runs code in a separate thread, and...
...a very affordable VPS host (256 RAM for $15) which has great support for Rails applications...
Concerns is a simple Rails plugin that provides you with a simple way to organise your Controllers, Models and Mailers, and split them into smaller chunks of logic. It is...
So here’s an overview of how things are going to work in Rails...
In Rails 2, when calling instance_eval or instance_exec on a scope, the scope will fetch its records from the database. This has been fixed in Rails...
This might eventually be fixed by Rails itself.\ Right now this is the way to have the rails_xss plugin not escape the body of ActionMailer mails.
If you want to inspect the compiled code of your erb (or haml) templates, you can run the following code...