search for: dynamicallybuiltqueri

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

Did you mean: dynamicallybuiltquery
2006 Aug 07
2
Dynamically created queries
Hello, I am having difficulty dynamically building a query. I want to ensure that I''m using Active Record protection against SQL injection attacks. In PHP land, I would have built up the query in my logic & attempted to clean every variable - a bit tedious really. I want to be able to achieve something like: events = Event.find(:all, :conditions => [**DynamicallyBuiltQuery**