aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
...
* | removed the default_scope deprecations and updated the docs and tests to refl...Josh Kalderimis2011-04-281-6/+18
|/
* Added assign_attributes to Active Record which accepts a mass-assignment secu...Josh Kalderimis2011-04-242-24/+19
* Bring back support for passing a callable object to the default_scope macro. ...Jon Leighton2011-04-181-0/+17
* Un-deprecate using 'default_scope' as a macro, but if you are calling the mac...Jon Leighton2011-04-187-77/+23
* Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the...Jon Leighton2011-04-173-30/+21
* common @jonleighton :bomb:Aaron Patterson2011-04-121-2/+1
* Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c...Jon Leighton2011-04-123-21/+32
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-121-0/+2
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-128-23/+102
* oracle, y u defy meJon Leighton2011-03-163-7/+9
* Add a test for STI on the through where the through is nested, and change the...Jon Leighton2011-03-052-0/+2
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-0426-35/+225
|\
| * Rewrote AssociationPreload.Jon Leighton2011-02-281-1/+2
| * Allow building and then later saving has_many :through records, such that the...Jon Leighton2011-02-183-1/+5
| * Ensure that association_ids uses the correct attribute where the association ...Jon Leighton2011-02-181-0/+1
| * Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-144-17/+23
| * make set_table_name take effect immediatelyJan2011-02-081-0/+4
| * Correctly update counter caches on deletion for has_many :through [#2824 stat...Jon Leighton2011-02-071-0/+5
| * Support the :dependent option on has_many :through associations. For historic...Jon Leighton2011-02-072-1/+38
| * Fixing ordering of HABTM association deletion [#6191 state:resolved]Edward Faulkner2011-02-042-0/+14
| * introduce a fake AR adapter for mocking database return valuesAaron Patterson2011-02-041-5/+7
| * share column cache among subclasses, only look up columns per AR::Base subcla...Aaron Patterson2011-02-011-0/+4
| * Propagate association extensions to scopes called on the association.Glenn Vanderburg2011-02-011-0/+1
| * Has many through - It is not necessary to manually merge in the conditions ha...Jon Leighton2011-01-302-1/+5
| * We shouldn't be using scoped.scoping { ... } to build associated records, as ...Jon Leighton2011-01-302-2/+11
| * belongs_to records should be initialized within the association scopeJon Leighton2011-01-161-0/+1
| * Add create_association! for belongs_toJon Leighton2011-01-161-0/+1
| * DRY up the code which instantiates the association proxyJon Leighton2011-01-112-0/+11
| * has_one should always remove the old record (properly), even if not saving th...Jon Leighton2011-01-111-0/+4
| * Fix polymorphic belongs_to associationproxy raising errors when loading target.Ernie Miller2011-01-111-0/+2
| * Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-1/+0
| * send() will raise an ArgumentError, so we should leverage rubyAaron Patterson2011-01-071-1/+1
| * Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-033-1/+10
| * Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-0/+1
| * Some basic tests for the :foreign_type option on belongs_to, which was previo...Jon Leighton2011-01-031-1/+2
| * Verify that when has_many associated objects are destroyed via :dependent => ...Jon Leighton2010-12-311-1/+16
| * Make sure Model#touch doesn't try to update non existing columnsPratik Naik2010-12-301-1/+3
| * Make serialized fixtures work againPratik Naik2010-12-291-0/+3
| * Raise an error for associations which try to go :through a polymorphic associ...Jon Leighton2010-12-231-1/+2
| * Test to verify that #2189 (count with has_many :through and a named_scope) is...Jon Leighton2010-12-231-0/+2
| * Fix creation of has_many through records with custom primary_key option on be...Szymon Nowak2010-12-232-0/+2
| * Verify that has_one :through preload respects the :conditions [#2976 state:re...Will Bryant2010-12-231-0/+1
| * Don't allow a has_one association to go :through a collection association [#2...Jon Leighton2010-12-232-4/+9
| * removing SQL interpolation, please use scoping and attribute conditionals as ...Aaron Patterson2010-12-221-3/+0
| * has_many associations with :dependent => :delete_all should update the counte...Jon Leighton2010-12-201-0/+2
| * Fix problem where wrong keys are used in JoinAssociation when an association ...Jon Leighton2010-12-201-0/+1
| * Fix various issues with the :primary_key option in :through associations [#24...Jon Leighton2010-12-152-0/+13
| * Verify that creating a has_many through record where there is a default_scope...Jon Leighton2010-12-162-1/+14
| * Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-163-1/+12
| * Fix hm:t to self table aliasing in construct_scopeErnie Miller2010-12-161-0/+1