Updating to reflect latest changes in DM 0.9
commit37f3b639f05213d2459ee54a826481d415ac5e00
authorAlex Coles <alexbcoles@mac.com>
Sat, 10 May 2008 20:07:31 +0000 (10 22:07 +0200)
committerAlex Coles <alexbcoles@mac.com>
Sat, 10 May 2008 20:07:31 +0000 (10 22:07 +0200)
tree8ecd970aa3138079e4a414af34d2879f4906f513
parentf97e83b696c51778e0f79a61877ebda689428069
Updating to reflect latest changes in DM 0.9

* Removed explicit DataMapper::Validate.
* Insured all models have keys.
* Renamed validation methods to reflect
  changes in dm-validations.
* Made all money-related fields BigDecimals
  (pending availability of custom Money
   DM::Type)
17 files changed:
app/models/address.rb
app/models/country.rb
app/models/mart/abstract_upload.rb
app/models/mart/accounts/abstract_account.rb
app/models/mart/accounts/bank_account.rb
app/models/mart/accounts/credit_card_account.rb
app/models/mart/customer.rb
app/models/mart/customers/cart.rb
app/models/mart/order.rb
app/models/mart/orders/line_item.rb
app/models/mart/shipping/type.rb
app/models/mart/shipping/weight.rb
app/models/mart/store/abstract_item.rb
app/models/mart/store/promotion.rb
app/models/tag.rb
app/models/user.rb
spec/models/mart/image_spec.rb