-
Judging by the number of Ruby on Rails developpers asking themselves this question, this is the missing example of Rails. (It's not in my Rails reference book, and I've never seen any example on any blog.) One solution is to create
More...
-
Every time your browser loads an new url, it also request a file called 'favicon.ico' in the same subdirectory. This generates a LOT of errors in the Ruby on Rails logs of my app. One way to avoid those errors is
More...
-
As you may (or may not) know, there are two ways to build a many-to-many (or N-N) relationship with Rails. The first way uses has_and_belongs_to_many in both models. You'll have to create a join table that has no corresponding model or
More...
-
Just a link to "The Complete Guide to Rails Plugins" which is a reference.
More...
-
The "Visualize Models" plugin By Nils Franzen will generate .png images from the Rails model files : (click to enlarge) : This plugin depends on GraphViz, which you can find here. From your rails application root, run : ruby script/plugin install
More...
-
Scriptaculous offers a nice autocompletion component that integrates quite well with Ruby on Rails.Here is a link that shows different ways to plug it in your rails application: http://www.slash7.com/articles/2005/08/13/ajaxariffic-au...
More...
-
French speakers only ;) Un petit cadeau d'Olivier Gutknecht à tous les français souhaitant découvrir Ruby on Rails : "Ruby on Rails - Une (courte) introduction" (Olivier Gutknecht)
More...
-
Rails has very nice features to validate a model (directly mapped on your database). However it gets sometimes sloppy if you don't know the exact command to do your validation.Here's a trick I had a hard time to find. Everybody knows
More...
-
apt-get install ruby wget http://rubyforge.org/frs/download.php/3463/rubygems-0.8.8.tgz tar vxzf rubygems-0.8.8.tgz cd rubygems-0.8.8 ruby setup.rb gem update gem install rails
More...