Open GoogleCodeExporter opened 9 years ago
Original comment by per.djurner@gmail.com
on 6 Mar 2009 at 11:15
Original comment by per.djurner@gmail.com
on 7 Mar 2009 at 9:26
I think this change could be part of a larger scoping system built into wheels.
For
example, I could setup default ordering for all queries that are run on my page
object.
This is a pretty good article on named scopes, it comes from a testing
perspective.
http://www.simonecarletti.com/blog/2009/06/how-to-test-rails-activerecord-named-
scopes/
Original comment by james.t....@gmail.com
on 31 Oct 2009 at 6:04
link to the merge_conditions method in rails>>activerecord
http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002310
Original comment by james.t....@gmail.com
on 31 Oct 2009 at 6:11
Issue 329 has been merged into this issue.
Original comment by per.djurner@gmail.com
on 26 Nov 2009 at 2:38
Original comment by per.djurner@gmail.com
on 6 Dec 2009 at 6:02
Original comment by per.djurner@gmail.com
on 12 Jul 2010 at 1:57
I think this change request has been completed with the addition of the joinKey
argument to all association setup methods. Closing.
Original comment by james.t....@gmail.com
on 17 Nov 2010 at 1:31
No, see my original comment: "You should be able to pass in the where argument
for example". This enhancement likely involves integrating the defaultScope
plugin with core.
Original comment by per.djurner@gmail.com
on 17 Nov 2010 at 8:21
for 2.0, the idea was to integrate the CFRel and ColdRoute plugins into core.
CFRel already supports this.
Original comment by tpetru...@gmail.com
on 29 Jun 2012 at 2:53
Original issue reported on code.google.com by
per.djurner@gmail.com
on 24 Jul 2008 at 4:23