Skip to content
Commits on Feb 4, 2010
  1. Version bump to 0.2.23

    committed
  2. catch NameError as well

    committed
  3. updated changes for 0.2.23

    committed
Commits on Feb 2, 2010
  1. @martinrehfeld
  2. @martinrehfeld
  3. @martinrehfeld
Commits on Jan 31, 2010
  1. @martinrehfeld
  2. @martinrehfeld
  3. @martinrehfeld

    remove conditional logic for validation framework from CouchPotato::C…

    martinrehfeld committed
    …allbacks by overriding the standard before_validation document class method in CouchPotato::Validation::ActiveModel
  4. @martinrehfeld

    remove conditional logic for validation framework from CouchPotato::D…

    martinrehfeld committed
    …atabase by providing the same access interface to the errors object for all validation frameworks
  5. @martinrehfeld
  6. @martinrehfeld
  7. @martinrehfeld
  8. @martinrehfeld
Commits on Jan 30, 2010
  1. @martinrehfeld

    move CouchPotato::Validatable into CouchPotato::Validation::Validatab…

    martinrehfeld committed
    …le and let CouchPotato::Validation require it only when CouchPotato::Config.validation_framework is :validatable
Commits on Jan 29, 2010
  1. @martinrehfeld
  2. @martinrehfeld
  3. @martinrehfeld

    add ActiveModel compatibility to models only when ActiveModel is inst…

    martinrehfeld committed
    …alled (otherwise causes problems when a Rails 2 app would try to resolve ActiveModel::Name)
Commits on Jan 28, 2010
  1. @martinrehfeld
  2. @martinrehfeld
  3. @martinrehfeld

    retain error messages from other callbacks when validating documents …

    martinrehfeld committed
    …even with ActiveModel::Validations
  4. @martinrehfeld
  5. @martinrehfeld

    test declaring multiple validation callbacks at once (to make sure th…

    martinrehfeld committed
    …is previously untested feature does indeed work as expected with ActiveModel::Validations as well as with Validatable)
  6. @martinrehfeld

    give up the expectation on specific ordering of the error messages wh…

    martinrehfeld committed
    …en combining errors from validations and callbacks
  7. @martinrehfeld

    WIP: get ActiveModel::Validations working; callbacks are not function…

    martinrehfeld committed
    …al yet (5 callback-related examples in the spec are failing)
  8. @martinrehfeld

    deal with the fact that validates_presence_of might add either "can't…

    martinrehfeld committed
    … be empty" or "can't be blank" errors messages depending on the configured validation framework
  9. @martinrehfeld
  10. @martinrehfeld

    only require and monkey patch Validatable when CouchPotato::Config.va…

    martinrehfeld committed
    …lidation_framework == :validatable
  11. @martinrehfeld
  12. @martinrehfeld
Something went wrong with that request. Please try again.