Pushed.
Thanks.
On Fri, Mar 6, 2009 at 10:18 PM, Will Bryant <will.bryant@gmail.com>
wrote:>
> Hi all,
>
> Great to see :having support made it in for 2.3. However I notice
> that it isn''t sanitizing the conditions, so whereas:
> :having => ''sum(credit_limit) > 50''
> works,
> :having => [''sum(credit_limit) > ?'', 50]
> doesn''t. It should do the same as :conditions...
>
> Easy patch:
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2158-having-conditions-need-sanitizing
>
> Cheers,
> Will
>
> >
>
--
Cheers!
- Pratik
http://m.onkey.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---