Include attribute in validation messages like Rails does.
Respect raise_error_on_money_parsing before raising a MoneyRails::ActiveRecord::Monetizable::ReadOnlyCurrencyException.
validator was looking for monetizable_attributes using a symbol key, when the keys are all strings. Asserted string key values in rspec and changed validator to look for a string key.
make monetized_attribute hash comparison order independent
Isolate class used for the monetized_attributes tests to prevent cross-contamination
rename format_with_settings method to format
add gem tasks
Fix validation failing when both superclass and subclass use monetize macros and any of them validates any field
Extract db adapter without open connection on load
Add support for field currency values to be determined by lambda.
Simplify validation options
Test for skipping validations separately from each other
Instead of requiring either the PG version or the non, always require the PG version and only fail to require the non when using PG, that way monetize will always work and money is supported for backwards compat. This way you can have a system with sqlite for dev and pg for production, for instance, and things still work.
DRYing migration extensions
Testing against latest ruby version
Include postgres specific code also when adaptor = postgis.
chore(add read only exception class)
tiny schema change
Use currency_column[:postfix] to automatically determine currency column.
Replacing getter method with attr_reader.
Support the disambiguate option on humanized_money helper.
Restore mongoid functionality on Rails < 4.0.
Support multiple attributes w/ one call to monetize for AR.
Add add_monetize and remove_monetize migration helpers, to fix a naming
clash introduced by the Rails 4.2 Postgres adapter Use correct amount for
validator when subunit is set directly.
Fix store_accessor compatibility.
Use public_send instead of send throughout the monetize method.
Fixing tests which were broken on Rails 4.2.
Add Rails 4.2 spec and update money dependency to 6.5.0.
Update dependencies to money 6.4.x and monetize 1.0.x.
Make subunit setter (e.g. #price_cents=) set the before_type_cast... va
riable. (Fixes validation errors.)
use HashWithIndifferentAccess instead of Hash for
Let the 'monetize' test helper work when testing against the model's class,
as well as an instance of that class.
Remove additional underscore in postfix comment
Rescue UnknownCurrency within ActiveRecord
Upgrade specs to RSpec 3
Use #respond_to? instead of #try? when monetizing an aliased attribute.