Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 12, 2010
  1. @mikel
Commits on Aug 14, 2010
  1. @spastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    spastorino authored
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Aug 12, 2010
  1. @gcampbell @josevalim

    Add missing ActiveModel::Validations require

    gcampbell authored josevalim committed
    [#5311 state: resolved]
    
    ActiveModel::Validations uses Hash#except, but does not require it from
    ActiveSupport.  (This wasn't showing up in the tests, because it was
    required in the helper, and was also required in
    ActiveModel::Serialization).
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Aug 3, 2010
  1. @wycats
  2. @wycats
  3. @wycats
  4. @josevalim
Commits on Jul 30, 2010
  1. @fxn
Commits on Jun 20, 2010
  1. @fxn

    Merge remote branch 'rails/master'

    fxn authored
    Conflicts:
    	actionpack/lib/abstract_controller/base.rb
Commits on Jun 19, 2010
  1. @josevalim
  2. @neerajdotname @josevalim

    moving before_validation and after_validation functionality from Acti…

    neerajdotname authored josevalim committed
    …veRecord to ActiveModel
    
    [#4653 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Jun 15, 2010
  1. @dolzenko
Commits on Jun 14, 2010
  1. @rizwanreza
Commits on Jun 11, 2010
  1. @dolzenko
Commits on Jun 10, 2010
  1. @josevalim

    class_attribute is not a direct replacement of class_inheritable_*.

    josevalim authored
    If you are setting a hash or an array in class_attribute or you need
    to freeze it, to ensure people won't modify it in place or you need
    to dup it on inheritance.
  2. @neerajdotname @dhh

    Validators should at model level and not at AR:Base level [Closes #4804]

    neerajdotname authored dhh committed
    [#4804 state:resolved]
    
    Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
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
Something went wrong with that request. Please try again.