Skip to content
This repository

Sep 12, 2010

  1. Mikel Lindsaar

    Fixing documentation to reflect deprecated add_to_base

    authored

Aug 14, 2010

  1. Santiago Pastorino

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

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

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 josevalim committed

Aug 03, 2010

  1. Yehuda Katz

    Fix a couple of mistaken deprecation solutions

    authored
  2. Yehuda Katz

    update this for a change in the core method

    authored
  3. Yehuda Katz

    Properly deprecate validate_on_#{on}

    authored
  4. José Valim

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

    authored

Jul 30, 2010

  1. Xavier Noria

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

    authored

Jun 20, 2010

  1. Xavier Noria

    Merge remote branch 'rails/master'

    Conflicts:
    	actionpack/lib/abstract_controller/base.rb
    authored

Jun 19, 2010

  1. José Valim

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

    authored
  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 josevalim committed

Jun 15, 2010

  1. Evgeniy Dolzhenko

    Fix a bunch of minor spelling mistakes

    authored

Jun 14, 2010

  1. Rizwan Reza

    Revised the rest of the files from ActiveModel.

    authored

Jun 11, 2010

  1. Evgeniy Dolzhenko

    Fix a bunch of minor spelling mistakes

    authored

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
  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 dhh committed

May 13, 2010

  1. Josh Kalderimis

    minor changes to instance level validations implementation based on f…

    …eedback from José Valim
    authored Carl Lerche committed
  2. Josh Kalderimis

    validation macros can now be used within an instance

    authored Carl Lerche committed

May 08, 2010

  1. Josh Kalderimis

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

    …oving the dependency on AR
    authored Carl Lerche committed

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 josevalim committed

Mar 27, 2010

  1. Jeremy Kemper

    Use Array.wrap uniformly

    authored

Mar 26, 2010

  1. José Valim

    Remove reference to unexistent methods and fix typo.

    authored

Feb 25, 2010

  1. Jeremy Kemper

    Accept array of attributes as arg also, like 2.3

    authored

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 josevalim committed

Jan 31, 2010

  1. Mikel Lindsaar

    Full update on ActiveModel documentation

    authored

Jan 07, 2010

  1. José Valim

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

    …s in validates.
    authored
  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 josevalim committed

Dec 28, 2009

  1. Jeremy Kemper

    Merge commit 'josevalim/validations'

    authored

Dec 23, 2009

  1. José Valim

    validates_each uses a BlockValidator.

    authored

Dec 22, 2009

  1. Joshua Peek

    All AMo modules are safe to defer

    authored

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 Carl Lerche committed

Oct 13, 2009

  1. Joshua Peek

    Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks

    authored

Sep 08, 2009

  1. José Valim

    Refactor new callbacks and AR implementation.

    Signed-off-by: Joshua Peek <josh@joshpeek.com>
    authored josh committed
  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 josh committed

Aug 05, 2009

  1. Pratik

    Use send instead of instance_eval

    authored
Something went wrong with that request. Please try again.