Much like textacular (https://github.com/textacular/textacular), make it a gem.
-- Jarrett Meyer Email: [email protected] Web: JarrettMeyer.com <http://jarrettmeyer.com> Twitter: @jarrettmeyer <http://twitter.com/jarrettmeyer> On Sat, May 11, 2013 at 11:08 PM, Rafael Mendonça França < [email protected]> wrote: > And how the others database adapters will work when you use `with`? > > I do not want to add database specific features in the Active Record > public API. It may cause confusion. > > Rafael Mendonça França > http://twitter.com/rafaelfranca > https://github.com/rafaelfranca > > > On Thu, May 9, 2013 at 6:52 PM, Joshua Wood <[email protected]> wrote: > >> Postgres has it: >> http://www.postgresql.org/docs/9.2/static/queries-with.html >> >> Arel has it: >> http://www.ruby-doc.org/gems/docs/a/arel-3.0.2/Arel/SelectManager.html#method-i-with >> >> As far as I can tell, ActiveRecord doesn't. >> >> I did a quick patch this morning for a local 3.2.13 project, and it seems >> to work great. I'd be happy to submit a PR if anyone else wants this (it >> will take a bit more time to do it properly, which is why I'm asking here >> first). >> >> Thanks guys! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en >> . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
