**MyModel.create(:amount => 40.50, :tax_rate => 0.10) **assert_equal(4.50, MyModel.first.tax)
You should definitely work for the government. ;) Gonna recommend you. :P (Typos can happen to anyone.) Cheers, Chris -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.