Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 13, 2010
  1. @joshk

    minor changes to instance level validations implementation based on f…

    joshk authored Carl Lerche committed
    …eedback from José Valim
  2. @joshk

    validation macros can now be used within an instance

    joshk authored Carl Lerche committed
Commits on May 8, 2010
  1. @joshk

    updated AMo validations to use a context for valid? and invalid?, rem…

    joshk authored Carl Lerche committed
    …oving the dependency on AR
Commits on Apr 28, 2010
  1. @spastorino @josevalim

    Makes validates_acceptance_of to not override database fields [#4460

    spastorino authored josevalim committed
    …state:committed]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Mar 27, 2010
  1. @jeremy

    Use Array.wrap uniformly

    jeremy authored
Commits on Mar 26, 2010
  1. @josevalim
Commits on Feb 25, 2010
  1. @jeremy
Commits on Feb 21, 2010
  1. @sikachu @josevalim

    Add validators reflection so you can do 'Person.validators' and 'Pers…

    sikachu authored josevalim committed
    …on.validators_on(:name)'.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Jan 31, 2010
  1. @mikel
Commits on Jan 7, 2010
  1. @josevalim
  2. @thelucid @josevalim

    Add validates method as shortcut to setup validators for a given set …

    thelucid authored josevalim committed
    …of attributes:
    
    class Person < ActiveRecord::Base
      include MyValidators
    
      validates :name, :presence => true, :uniqueness => true, :length => { :maximum => 100 }
      validates :email, :presence => true, :email => true
    end
    
    [#3058 status:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Dec 28, 2009
  1. @jeremy
Commits on Dec 23, 2009
  1. @josevalim
Commits on Dec 22, 2009
  1. @josh

    All AMo modules are safe to defer

    josh authored
Commits on Oct 21, 2009
  1. @josevalim

    Move validator, human_name and human_attribute_name to ActiveModel, r…

    josevalim authored Carl Lerche committed
    …emove deprecated error messages and add i18n_scope and lookup_ancestors.
    
    Signed-off-by: Carl Lerche <carllerche@mac.com>
Commits on Oct 13, 2009
  1. @josh
Commits on Sep 8, 2009
  1. @josevalim @josh

    Refactor new callbacks and AR implementation.

    josevalim authored josh committed
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
  2. @josevalim @josh

    Changed ActiveRecord to use new callbacks and speed up observers by o…

    josevalim authored josh committed
    …nly notifying events that are actually being consumed.
    
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
Commits on Aug 5, 2009
  1. @lifo
  2. @josh

    Allow validations to use values from custom readers [#2936 state:reso…

    James Hill authored josh committed
    …lved]
    
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
Commits on Jul 15, 2009
  1. @wycats

    Add some missing dependencies

    wycats authored
Commits on Jun 18, 2009
  1. @josh
Commits on Jun 9, 2009
  1. @josh
Commits on May 30, 2009
  1. @josh

    Use AS::Concern in ActiveModel

    josh authored
Commits on Mar 21, 2009
  1. @lifo

    Deprecate Model#validate/validate_on_create/validate_on_update. Use M…

    lifo authored
    …odel.validate :method and likewise
  2. @lifo
  3. @lifo
  4. @lifo
Commits on Mar 20, 2009
  1. @lifo

    Add I18n translations to ActiveModel and move more AR specific parts …

    lifo authored
    …to ActiveRecord::Validations
Commits on Mar 19, 2009
  1. @lifo
Commits on Aug 31, 2008
  1. @jeremy

    Get rid of 'Object#send!'. It was originally added because it's in Ru…

    jeremy authored
    …by 1.9, but it has since been removed from 1.9.
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    
    Conflicts:
    
    	actionpack/test/controller/layout_test.rb
Commits on Jun 28, 2008
  1. @technoweenie
  2. @technoweenie
Commits on May 2, 2008
  1. @fxn @lifo

    Improve documentation coverage and markup

    fxn authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Apr 20, 2008
  1. @josh
Something went wrong with that request. Please try again.