- 08 6月, 2011 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 01 6月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
added an alias for new to build to the AR collection proxy, this corrects an issue where the collection proxies were not consistent
-
- 25 5月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
-
- 20 5月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Implement proxy_owner, proxy_target and proxy_reflection methods on CollectionProxy with deprecations. Fixes #1148.
-
- 02 5月, 2011 1 次提交
-
-
由 Nick Howard 提交于
- adds tests for find_or_create_by and find_or_initialize_by on has_many associations - changes the behavior of ActiveRecord::Associations::CollectionProxy#method_missing to differ to ActiveRecord::FinderMethods#find_or_instantiator_by_attributes for arg processing and saving so find_or_create_by's api on associations will be consistent w/ the api for model classes.
-
- 13 4月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Removing the scope-caching which happens on association proxies, because the query is already cached by the query cacher. For formalised proof see http://www.youtube.com/watch?v=wDefXLb-FDs
-
- 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.
-