Permalink
Commits on Feb 5, 2010
  1. Version bump to 0.2.24

    langalex committed Feb 5, 2010
Commits on Feb 4, 2010
  1. Version bump to 0.2.23

    langalex committed Feb 4, 2010
  2. catch NameError as well

    langalex committed Feb 4, 2010
  3. updated changes for 0.2.23

    langalex committed Feb 4, 2010
Commits on Feb 2, 2010
Commits on Jan 31, 2010
  1. remove conditional logic for validation framework from CouchPotato::C…

    martinrehfeld committed Jan 30, 2010
    …allbacks by overriding the standard before_validation document class method in CouchPotato::Validation::ActiveModel
  2. remove conditional logic for validation framework from CouchPotato::D…

    martinrehfeld committed Jan 30, 2010
    …atabase by providing the same access interface to the errors object for all validation frameworks
Commits on Jan 30, 2010
  1. move CouchPotato::Validatable into CouchPotato::Validation::Validatab…

    martinrehfeld committed Jan 30, 2010
    …le and let CouchPotato::Validation require it only when CouchPotato::Config.validation_framework is :validatable
Commits on Jan 29, 2010
  1. fix for 13643bd: move extension of Validatabel::Errors out of ActiveM…

    martinrehfeld committed Jan 29, 2010
    …odel conditional block
  2. add ActiveModel compatibility to models only when ActiveModel is inst…

    martinrehfeld committed Jan 29, 2010
    …alled (otherwise causes problems when a Rails 2 app would try to resolve ActiveModel::Name)
Commits on Jan 28, 2010
  1. retain error messages from other callbacks when validating documents …

    martinrehfeld committed Jan 28, 2010
    …even with ActiveModel::Validations
  2. test declaring multiple validation callbacks at once (to make sure th…

    martinrehfeld committed Jan 28, 2010
    …is previously untested feature does indeed work as expected with ActiveModel::Validations as well as with Validatable)
  3. give up the expectation on specific ordering of the error messages wh…

    martinrehfeld committed Jan 28, 2010
    …en combining errors from validations and callbacks
  4. WIP: get ActiveModel::Validations working; callbacks are not function…

    martinrehfeld committed Jan 28, 2010
    …al yet (5 callback-related examples in the spec are failing)
  5. deal with the fact that validates_presence_of might add either "can't…

    martinrehfeld committed Jan 28, 2010
    … be empty" or "can't be blank" errors messages depending on the configured validation framework