Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 1, 2011
  1. @pixeltrix

    Raise NameError instead of ArgumentError in ActiveSupport::Dependencies

    pixeltrix authored
    ActiveSupport::Dependencies now raises NameError if it finds an existing
    constant in load_missing_constant. This better reflects the nature of
    the error which is usually caused by calling constantize on a nested constant.
    
    Closes #1423
Commits on May 25, 2011
  1. @joshk
Commits on May 24, 2011
  1. @jonleighton
Commits on May 21, 2011
  1. @fxn

    Merge pull request #1180 from Karunakar/documentation_change

    fxn authored
    Documentation Error Fixed for ticket #839
  2. @jonleighton

    Merge pull request #1162 from guilleiguaran/singularize_individual_ta…

    jonleighton authored
    …ble_name
    
    Singularize individual table name
  3. @Karunakar
Commits on May 20, 2011
  1. @guilleiguaran
  2. @guilleiguaran
Commits on May 16, 2011
  1. @smartinez87
Commits on May 15, 2011
  1. @sikachu

    Add ActiveRecord::attribute_names to retrieve a list of attribute nam…

    sikachu authored
    …es. This method will also return an empty array on an abstract class or a model that the table doesn't exists.
Commits on May 11, 2011
  1. @knapo
  2. fix bug in usage example of #unscoped

    Corin Langosch authored
Commits on May 10, 2011
  1. @josevalim
Commits on May 8, 2011
  1. @joshk
Commits on May 7, 2011
  1. @josevalim
  2. @josevalim
Commits on May 6, 2011
  1. @josevalim

    Revert the merge because tests did not pass.

    josevalim authored
    Revert "Merge pull request #423 from richardiux/master"
    
    This reverts commit b8f08c4, reversing
    changes made to fd9df1b.
  2. @josevalim

    Merge pull request #423 from richardiux/master

    josevalim authored
    Identity Map caching bug
  3. @richardiux

    Adding base method symbolized_sti_name to activerecord base to be use…

    richardiux authored
    …d on identity map. Identity map now considers the inheritance when creating the caching keys
Commits on May 5, 2011
  1. @asanghi
Commits on May 4, 2011
  1. @fxn
Commits on May 2, 2011
  1. @smartinez87

    Remove extra whitespaces

    smartinez87 authored
Commits on May 1, 2011
  1. @dhh

    Merge pull request #357 from joshk/assign_attributes.

    dhh authored
    Assign protected attributes with create/new and control the role.
  2. @joshk
Commits on Apr 28, 2011
  1. @joshk

    removed the default_scope deprecations and updated the docs and tests…

    joshk authored
    … to reflect its use cases
Commits on Apr 25, 2011
  1. @joshk

    deprecated the use of the guard_protected_attributes argument with at…

    joshk authored
    …tributes= in AR in favor of assign_attributes(attrs, :without_protection => true)
Commits on Apr 24, 2011
  1. @joshk

    Added assign_attributes to Active Record which accepts a mass-assignm…

    joshk authored
    …ent security scope using the :as option, while also allowing mass-assignment security to be bypassed using :with_protected
Commits on Apr 18, 2011
  1. @jonleighton

    Bring back support for passing a callable object to the default_scope…

    jonleighton authored
    … macro. You can also just use a block.
  2. @jonleighton

    Un-deprecate using 'default_scope' as a macro, but if you are calling…

    jonleighton authored
    … the macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times.
Commits on Apr 13, 2011
  1. @jonleighton @tenderlove

    Evaluate default scopes at the last possible moment in order to avoid…

    jonleighton authored tenderlove committed
    … problems with default scopes getting included into other scopes and then being unable to remove the default part via unscoped.
  2. @jonleighton @tenderlove

    Deprecated support for passing hashes and relations to default_scope,…

    jonleighton authored tenderlove committed
    … in favour of defining a 'default_scope' class method in the model. See the CHANGELOG for more details.
Commits on Mar 29, 2011
  1. @pixeltrix
Commits on Mar 28, 2011
  1. @smartinez87 @spastorino

    Bring #reorder back

    smartinez87 authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Mar 22, 2011
  1. @spastorino
Commits on Mar 5, 2011
  1. @jonleighton

    Merge branch 'master' into nested_has_many_through

    jonleighton authored
    Conflicts:
    	activerecord/CHANGELOG
Something went wrong with that request. Please try again.