spec/dummy/app/models/product.rb in money-rails-0.3.0 vs spec/dummy/app/models/product.rb in money-rails-0.3.1

- old
+ new

@@ -1,7 +1,8 @@ class Product < ActiveRecord::Base - attr_accessible :price_cents, :discount, :bonus_cents + attr_accessible :price_cents, :discount, :bonus_cents, + :price, :discount_value, :bonus # Use USD as model level currency register_currency :usd # Use money-rails macros