Radhames Brito wrote in post #1064485: > On Wed, Jun 13, 2012 at 5:38 PM, Christopher J. Bottaro < > [email protected]> wrote: > Take a look at this code from squeel that add methods to active record > relations.
Awesome, thanks! Heh, since posting though, I just opened up the activerecord gem and figured it out. Here's how I did it: https://gist.github.com/2926951 -- C -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

