Ruby on rails

Creating a new rails application

 * Getting Started with Rails

BackTicks
This is one of the ways to execute shell commands
 * 6 ways to run shell commands in Ruby

inline if statement
works toggle ? "class='odd'" : "" does not work toggle?"class='odd'":""

Database config
config/database.yml

must have a "development" setting rake db:migrate rake db:migrate RAILS_ENV=production

debug

 * http://pivotallabs.com/users/chad/blog/articles/366-ruby-debug-in-30-seconds-we-don-t-need-no-stinkin-gui-

building rpms from ruby gems

 * http://yo61.com/building-rpms-from-ruby-gems.html