- 28 3月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
This reverts commit 45c233ef. Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 26 3月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 18 2月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Split AssociationProxy into an Association class (and subclasses) which manages the association, and a CollectionProxy class which is *only* a proxy. Singular associations no longer have a proxy. See CHANGELOG for more.
-
- 15 2月, 2011 1 次提交
-
-
由 Emilio Tagua 提交于
-
- 12 1月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Get rid of set_association_target and association_loaded? as the parts of the code that need that can now just use association_proxy(:name).loaded?/target=
-
- 04 1月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
This required changing the code to keep the association proxy for a belongs_to around, despite its target being nil. Which in turn required various changes to the way that stale target checking is handled, in order to support various edge cases (loaded target is nil then foreign key added, foreign key is changed and then changed back, etc). A side effect is that the code is nicer and more succinct. Note that I am removing test_no_unexpected_aliasing since that is basically checking that the proxy for a belongs_to *does* change, which is the exact opposite of the intention of this commit. Also adding various tests for various edge cases and related things. Phew, long commit message!
-
- 24 12月, 2010 3 次提交
-
-
由 Jon Leighton 提交于
If a has_many goes :through a belongs_to, and the foreign key of the belongs_to changes, then the has_many should be considered stale.
-
由 Will Bryant 提交于
-
由 Jon Leighton 提交于
-
- 23 12月, 2010 1 次提交
-
-
由 Raimonds Simanovskis 提交于
This is additional fix for commit ebc47465 Respect the default_scope on a join model when reading a through association which otherwise was failing on Oracle (as it returned fixture comments in different order).
-
- 16 12月, 2010 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
- 29 11月, 2010 1 次提交
-
-
由 John Hawthorn 提交于
[#6037 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 31 10月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
-
- 19 10月, 2010 2 次提交
-
-
由 Jon Leighton 提交于
Support for :primary_key option on the source reflection of a through association, where the source is a has_one or has_many
-
由 Jon Leighton 提交于
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 13 7月, 2010 1 次提交
-
-
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 09 7月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
was created this test has name not beginning with test_. Also this test is trying to use has_many on another has_many which is not supported. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 10 8月, 2009 1 次提交
-
-
由 Tristan Dunn 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 17 5月, 2009 1 次提交
-
-
由 Daniel Guettler 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 12 3月, 2009 1 次提交
-
-
由 Will Bryant 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 09 3月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
[#1617 state:resolved]
-
- 19 12月, 2008 1 次提交
-
-
由 Matt Jones 提交于
Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
-
- 16 11月, 2008 1 次提交
-
-
由 Matt Jones 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 14 10月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Ensure methods called on association proxies respect access control. [#1083 state:resolved] [Adam Milligan, Pratik]
-
- 27 8月, 2008 1 次提交
-
-
由 pivotal 提交于
* Set the association target on assignment; * Reset target to nil on reset, rather than empty array. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#895 state:committed]
-
- 26 8月, 2008 3 次提交
-
-
由 Tarmo Tänav 提交于
This matters when the has_one is defined with an order in which case there is an expectation that the first one will be loaded. [#904 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Frederick Cheung 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Frederick Cheung 提交于
[#903 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 06 4月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-