Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 10, 2012
  1. @vijaydev

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

    vijaydev authored
    Conflicts:
    	activerecord/lib/active_record/persistence.rb
    	railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
  2. @vijaydev

    Revert "Fix Example in active model attribute methods"

    vijaydev authored
    This reverts commit 1c02b98.
  3. @vijaydev
  4. @robin850
Commits on Oct 3, 2012
  1. @rafaelfranca

    Use the `flat_map` method.

    rafaelfranca authored
    Thanks to @jeremy to teach me this one.
  2. @rafaelfranca

    Revert "Merge pull request #7826 from sikachu/master-validators-kind"

    rafaelfranca authored
    This reverts commit 4e9f53f, reversing
    changes made to 6b802cd.
    
    Revert "Don't use tap in this case."
    
    This reverts commit 454d820.
    
    Reason: Is not a good idea to add options to this method since we can do
    the same thing using method composition.
    
        Person.validators_on(:name).select { |v| v.kind == :presence }
    
    Also it avoids to change the method again to add more options.
  3. @rafaelfranca

    Don't use tap in this case.

    rafaelfranca authored
    The use of tap in this case is very confusing since we are mutating the
    return value inside the block
  4. @sikachu

    Make `.validators_on` accept `:kind` option

    sikachu authored
    This will filter out the validators on a particular attribute based on
    its kind.
Commits on Oct 2, 2012
  1. @nixterrimus
  2. @nixterrimus
Commits on Sep 23, 2012
  1. Switch to using include? on validation callbacks

    John Foley authored
  2. Fix collisions with before and after validation callbacks.

    John Foley authored
    This commit allows a user to do something like:
        before_validation :do_stuff, :on => [ :create, :update ]
        after_validation :do_more, :on => [ :create, :update ]
Commits on Sep 20, 2012
  1. add :nodoc: to AMo::DeprecatedMassAssignmentSecurity::ClassMethods [c…

    Francesco Rodriguez authored
    …i skip]
  2. change AMo::ForbiddenAttributesProtection#sanitize_for_mass_assignmen…

    Francesco Rodriguez authored
    …t to protected
  3. update AMo::ForbiddenAttributesError documentation [ci skip]

    Francesco Rodriguez authored
  4. add :nodoc: directives to AMo::DeprecatedMassAssignmentSecurity [ci s…

    Francesco Rodriguez authored
    …kip]
Commits on Sep 19, 2012
  1. @guilleiguaran
Commits on Sep 17, 2012
  1. @guilleiguaran

    attr_accessible and attr_protected raise an exception pointing to use…

    guilleiguaran authored
    … plugin or new protection model
  2. @guilleiguaran
  3. @guilleiguaran
  4. @guilleiguaran

    Change AMo::ForbiddenAttributesProtection tests to use a subclass of …

    guilleiguaran authored
    …Hash instead of monkey patch permitted? method in regular hashes
  5. @guilleiguaran

    Remove MassAssignmentSecurity from ActiveModel

    guilleiguaran authored
    This will be moved out to protected_attributes gem
  6. @guilleiguaran
Commits on Sep 12, 2012
  1. @NARKOZ

    remove '.rb' from require call

    NARKOZ authored
Commits on Sep 9, 2012
  1. @vijaydev

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

    vijaydev authored
    Conflicts:
    	activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
Commits on Sep 7, 2012
  1. @carlosantoniodasilva
  2. @carlosantoniodasilva

    Update Active Model xml serialization test to reflect a change in bui…

    carlosantoniodasilva authored
    …lder
    
    Due to a change in builder, nil values and empty strings now generates
    closed tags, so instead of this:
    
        <pseudonyms nil=\"true\"></pseudonyms>
    
    It generates this:
    
        <pseudonyms nil=\"true\"/>
    
    Document this change in Rails so that people can track it down easily if
    necessary.
  3. @makaroni4
Commits on Aug 28, 2012
  1. @fxn

    CHANGELOGs are now per branch

    fxn authored
    Changes in old branches needed to be manually synched in CHANGELOGs of newer ones.
    This has proven to be brittle, sometimes one just forgets this manual step.
    With this commit we switch to CHANGELOGs per branch. When a new major version is
    cut from master, the CHANGELOGs in master start being blank.
    
    A link to the CHANGELOG of the previous branch allows anyone interested to
    follow the history.
  2. @kennyj

    Fix method redefined warnings.

    kennyj authored
Commits on Aug 24, 2012
  1. @sobrinho
Commits on Aug 23, 2012
  1. Fix ActiveModel tests that depend on run order

    Francesco Rodriguez authored
Commits on Aug 21, 2012
  1. @josevalim

    Get rid of config.preload_frameworks in favor of config.eager_load_na…

    josevalim authored
    …mespaces
    
    The new option allows any Ruby namespace to be registered and set
    up for eager load. We are effectively exposing the structure existing
    in Rails since v3.0 for all developers in order to make their applications
    thread-safe and CoW friendly.
Commits on Aug 16, 2012
  1. @rafaelfranca

    Merge pull request #7024 from bogdan/strict_validation_custom_exception

    rafaelfranca authored
    AM::Validation#validates: custom exception for :strict option
    
    Conflicts:
    	activemodel/CHANGELOG.md
Commits on Aug 15, 2012
  1. @vijaydev
Something went wrong with that request. Please try again.