Displaying 1 result from an estimated 1 matches for "jackchristensen".
2006 Jul 23
3
ANN: scoped_proxy plugin
...male.count
They can be used directly as shown above or the scoped proxy object
itself can
be stored and passed to methods expecting an ActiveRecord object with full
find and count capabilities.
single_female_finder = Person.single.female
single_female_finder.find :all
Download from:
http://www.jackchristensen.com/article/4/scopedproxy-plugin-for-ruby-on-rails
Jack