search for: single_female_find

Displaying 1 result from an estimated 1 matches for "single_female_find".

Did you mean: single_female_finder
2006 Jul 23
3
ANN: scoped_proxy plugin
...Person.single.find :all They can also be chained together. Person.single.female.find :all Person.old.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