Skip to content
This repository

Jun 27, 2012

  1. Carlos Antonio da Silva

    Set hash value instead of merge a single key, and use flatten! if pos…

    …sible
    
    There's no need to create two extra hashes with options.merge(another_hash),
    with the goal of setting only one value, so lets just set it.
    
    Also refactor validates_each to use _merge_attributes, like other
    validates_* helpers do.

Jun 22, 2012

  1. Vijay Dev

    Merge branch 'master' of github.com:lifo/docrails

    authored June 22, 2012
  2. Vijay Dev

    fixes a few mistakes in api docs [ci skip]

    authored June 22, 2012

Jun 15, 2012

  1. Jon Leighton

    Simplify AR configuration code.

    Get rid of ActiveModel::Configuration, make better use of
    ActiveSupport::Concern + class_attribute, etc.
  2. Francesco Rodríguez

    add example to ActiveModel::Validations#validators [ci skip]

    authored June 15, 2012

May 15, 2012

  1. Carlos Antonio da Silva

    Kill whitespaces :scissors:

May 13, 2012

  1. clean the erros if an object that includes validations errors is dupe…

    …d. Fixes #5953
    authored May 12, 2012

Apr 26, 2012

  1. Oscar Del Ben

    minor docs improvements

    authored April 26, 2012
  2. Oscar Del Ben

    Add documentation for validate options

    authored April 26, 2012
  3. Oscar Del Ben

    Enhance validations documentation

    authored April 26, 2012

Feb 07, 2012

  1. replacing ordered hash to ruby hash

    authored February 08, 2012

Jan 06, 2012

  1. Rafael Mendonça França

    Remove Array.wrap call in ActiveModel

    authored January 05, 2012

Dec 28, 2011

  1. Jon Leighton

    Support configuration on ActiveRecord::Model.

    The problem: We need to be able to specify configuration in a way that
    can be inherited to models that include ActiveRecord::Model. So it is
    no longer sufficient to put 'top level' config on ActiveRecord::Base,
    but we do want configuration specified on ActiveRecord::Base and
    descendants to continue to work.
    
    So we need something like class_attribute that can be defined on a
    module but that is inherited when ActiveRecord::Model is included.
    
    The solution: added ActiveModel::Configuration module which provides a
    config_attribute macro. It's a bit specific hence I am not putting this
    in Active Support or making it a 'public API' at present.
    authored December 28, 2011

May 23, 2011

  1. Sebastian Martinez

    Remove extra white spaces on ActiveModel docs.

Apr 28, 2011

  1. Aditya Sanghi

    :if should not fire on validations when not in context with :on

    authored April 29, 2011

Mar 07, 2011

  1. Vijay Dev

    formatting changes

    authored March 07, 2011

Feb 21, 2011

  1. Xavier Noria

    copy-edits 8d96b89

    authored February 21, 2011

Feb 19, 2011

  1. Clarification of ActiveRecord ActiveModel validation documentation

    authored February 18, 2011

Feb 07, 2011

  1. Santiago Pastorino

    Use map + flatten here

    authored February 07, 2011

Feb 06, 2011

  1. Carl Lerche

    Find all validators for multiple attributes

    authored February 05, 2011

Jan 31, 2011

  1. John Firebaugh

    Use run_callbacks; the generated _run_<name>_callbacks method is not …

    …a public interface.
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    authored January 09, 2011 spastorino committed January 31, 2011

Dec 19, 2010

  1. Santiago Pastorino

    Tests and docs which explain the use of validate with a block and wit…

    …hout arguments
    authored December 19, 2010

Oct 01, 2010

  1. Arkadiusz Holko

    Fix syntax error in ActiveModel::Validations .validate example

    authored October 01, 2010

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. 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
Something went wrong with that request. Please try again.