3. Almost Ready
ActiveRecord::Base.find options are strictly validated, so calls to Account.find(:all, :condition => ...) will raise an exception on :condition, which should be :conditions.
- The
:conditions finder option is wrapped in parentheses in the generated SQL to ensure correct precedence. If you rely on e.g. :conditions => 'foo > 1 order by foo desc' being passed directly into the SQL query, your app will break in 1.0. Use :conditions => 'foo > 1', :order => 'foo desc' instead.
link_to :controller => nil, :action => 'join' will fail since you are specifically saying that you don’t want a controller, which usually doesn’t make any sense. Instead, omit the :controller option to use the current controller. Also, you may prefer the tidiness of named routes for your linking needs.
0.blank? is now false instead of true, so validates_presence_of now works as you expect for checkboxes using 0/1 and text fields where 0 is a valid entry. However, any code that relies on 0.blank? == true now needs to check whether number.zero? as well.