Skip to content
This repository

Sep 12, 2010

  1. Mikel Lindsaar

    Fixing documentation to reflect deprecated add_to_base

    authored September 12, 2010

Aug 14, 2010

  1. Santiago Pastorino

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

    …ec sed 's/[ \t]*$//' -i {} \;)
    authored August 14, 2010

Aug 12, 2010

  1. Greg Campbell

    Add missing ActiveModel::Validations require

    [#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>
    authored August 05, 2010 josevalim committed August 12, 2010

Aug 03, 2010

  1. Yehuda Katz

    Fix a couple of mistaken deprecation solutions

    authored August 03, 2010
  2. Yehuda Katz

    update this for a change in the core method

    authored August 03, 2010
  3. Yehuda Katz

    Properly deprecate validate_on_#{on}

    authored August 03, 2010
  4. José Valim

    Freeze options so we raise an error when people modify it in place.

    authored August 03, 2010

Jul 30, 2010

  1. Xavier Noria

    edit pass to apply API guideline wrt the use of "# =>" in example code

    authored July 30, 2010

Jun 20, 2010

  1. Xavier Noria

    Merge remote branch 'rails/master'

    Conflicts:
    	actionpack/lib/abstract_controller/base.rb
    authored June 20, 2010

Jun 19, 2010

  1. José Valim

    ActiveModel::Validations::Callbacks should not be required by default.

    authored June 19, 2010
  2. Neeraj Singh

    moving before_validation and after_validation functionality from Acti…

    …veRecord to ActiveModel
    
    [#4653 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored June 16, 2010 josevalim committed June 19, 2010

Jun 15, 2010

  1. Evgeniy Dolzhenko

    Fix a bunch of minor spelling mistakes

    authored June 15, 2010

Jun 14, 2010

  1. Rizwan Reza

    Revised the rest of the files from ActiveModel.

    authored June 14, 2010

Jun 11, 2010

  1. Evgeniy Dolzhenko

    Fix a bunch of minor spelling mistakes

    authored June 11, 2010

Jun 10, 2010

  1. José Valim

    class_attribute is not a direct replacement of class_inheritable_*.

    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.
    authored June 10, 2010
  2. Neeraj Singh

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

    [#4804 state:resolved]
    
    Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
    authored June 09, 2010 dhh committed June 10, 2010

May 13, 2010

  1. Josh Kalderimis

    minor changes to instance level validations implementation based on f…

    …eedback from José Valim
    authored May 11, 2010 Carl Lerche committed May 13, 2010
  2. Josh Kalderimis

    validation macros can now be used within an instance

    authored May 11, 2010 Carl Lerche committed May 13, 2010

May 08, 2010

  1. Josh Kalderimis

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

    …oving the dependency on AR
    authored May 08, 2010 Carl Lerche committed May 08, 2010

Apr 28, 2010

  1. Santiago Pastorino

    Makes validates_acceptance_of to not override database fields [#4460

    …state:committed]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored April 28, 2010 josevalim committed April 28, 2010

Mar 27, 2010

  1. Jeremy Kemper

    Use Array.wrap uniformly

    authored March 27, 2010

Mar 26, 2010

  1. José Valim

    Remove reference to unexistent methods and fix typo.

    authored March 26, 2010

Feb 25, 2010

  1. Jeremy Kemper

    Accept array of attributes as arg also, like 2.3

    authored February 25, 2010

Feb 21, 2010

  1. Prem Sichanugrist

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

    …on.validators_on(:name)'.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored February 18, 2010 josevalim committed February 21, 2010

Jan 31, 2010

  1. Mikel Lindsaar

    Full update on ActiveModel documentation

    authored February 01, 2010

Jan 07, 2010

  1. José Valim

    Allow :if, :unless, :on, :allow_nil and :allow_blank as shared option…

    …s in validates.
    authored January 07, 2010
  2. Add validates method as shortcut to setup validators for a given set …

    …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>
    authored January 07, 2010 josevalim committed January 07, 2010

Dec 28, 2009

  1. Jeremy Kemper

    Merge commit 'josevalim/validations'

    authored December 28, 2009

Dec 23, 2009

  1. José Valim

    validates_each uses a BlockValidator.

    authored December 23, 2009

Dec 22, 2009

  1. Joshua Peek

    All AMo modules are safe to defer

    authored December 22, 2009

Oct 21, 2009

  1. José Valim

    Move validator, human_name and human_attribute_name to ActiveModel, r…

    …emove deprecated error messages and add i18n_scope and lookup_ancestors.
    
    Signed-off-by: Carl Lerche <carllerche@mac.com>
    authored October 20, 2009 Carl Lerche committed October 20, 2009

Oct 13, 2009

  1. Joshua Peek

    Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks

    authored October 12, 2009

Sep 08, 2009

  1. José Valim

    Refactor new callbacks and AR implementation.

    Signed-off-by: Joshua Peek <josh@joshpeek.com>
    authored September 08, 2009 josh committed September 08, 2009
  2. José Valim

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

    …nly notifying events that are actually being consumed.
    
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
    authored September 08, 2009 josh committed September 08, 2009

Aug 05, 2009

  1. Pratik

    Use send instead of instance_eval

    authored August 06, 2009
Something went wrong with that request. Please try again.