Skip to content
This repository

Sep 12, 2010

  1. Mikel Lindsaar

    Fixing documentation to reflect deprecated add_to_base

    mikel authored

Aug 14, 2010

  1. Santiago Pastorino

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

    …ec sed 's/[ \t]*$//' -i {} \;)
    spastorino 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>
    gcampbell authored josevalim committed

Aug 03, 2010

  1. Yehuda Katz

    Fix a couple of mistaken deprecation solutions

    wycats authored
  2. Yehuda Katz

    update this for a change in the core method

    wycats authored
  3. Yehuda Katz

    Properly deprecate validate_on_#{on}

    wycats authored
  4. José Valim

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

    josevalim authored

Jul 30, 2010

  1. Xavier Noria

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

    fxn authored

Jun 20, 2010

  1. Xavier Noria

    Merge remote branch 'rails/master'

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

Jun 19, 2010

  1. José Valim

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

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

Jun 15, 2010

  1. Ev Dolzhenko

    Fix a bunch of minor spelling mistakes

    dolzenko authored

Jun 14, 2010

  1. Rizwan Reza

    Revised the rest of the files from ActiveModel.

    rizwanreza authored

Jun 11, 2010

  1. Ev Dolzhenko

    Fix a bunch of minor spelling mistakes

    dolzenko 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.
    josevalim 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>
    neerajdotname authored dhh committed

May 13, 2010

  1. Josh Kalderimis

    minor changes to instance level validations implementation based on f…

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

    validation macros can now be used within an instance

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

Mar 27, 2010

  1. Jeremy Kemper

    Use Array.wrap uniformly

    jeremy authored

Mar 26, 2010

  1. José Valim

    Remove reference to unexistent methods and fix typo.

    josevalim authored

Feb 25, 2010

  1. Jeremy Kemper

    Accept array of attributes as arg also, like 2.3

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

Jan 31, 2010

  1. Mikel Lindsaar

    Full update on ActiveModel documentation

    mikel authored

Jan 07, 2010

  1. José Valim

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

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

Dec 28, 2009

  1. Jeremy Kemper

    Merge commit 'josevalim/validations'

    jeremy authored

Dec 23, 2009

  1. José Valim

    validates_each uses a BlockValidator.

    josevalim authored

Dec 22, 2009

  1. Joshua Peek

    All AMo modules are safe to defer

    josh 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>
    josevalim authored Carl Lerche committed

Oct 13, 2009

  1. Joshua Peek

    Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks

    josh authored

Sep 08, 2009

  1. José Valim

    Refactor new callbacks and AR implementation.

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

Aug 05, 2009

  1. Pratik

    Use send instead of instance_eval

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