On 19/08/2009, at 11:39 AM, Gabe Hollombe wrote:
> What about ActiveRecord::Base.sanitize_sql_for_conditions ?

That's a protected class method on ActiveRecord::Base, which I did say  
he could use but would need to work around (e.g.  
ActiveRecord::Base.send(:sanitize_sql_for_conditions, [])). Obviously  
I don't know what style reports he's after, but in my experience with  
ActiveRecord-based reporting systems isn't too positive. Personally, I  
prefer to use Sequel in the context of reporting because I find myself  
fighting the system a lot less.


Cheers,

Nathan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to