Thanks for the information. I got NoMethodError: undefined method `-' for #<Date:0x97829f0> when trying to subtract two dates so I thought that the operator is defined in Rails.
Apparently it is not. " require 'date' "must be called to have it. Not very intuitive. Robert Pankowecki -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.