Chris Richards
2006-Apr-19 16:12 UTC
[Rails] Is it true that you cannot use bind variables with Oracle?
Is it true that you cannot use bind variables with Oracle? An answer would be really appreciated, Thanks, Chris -- Posted via http://www.ruby-forum.com/.
Wilson Bilkovich
2006-Apr-19 16:55 UTC
[Rails] Is it true that you cannot use bind variables with Oracle?
On 4/19/06, Chris Richards <evilgeenius@gmail.com> wrote:> Is it true that you cannot use bind variables with Oracle? > > An answer would be really appreciated, > > Thanks, > > Chris >Works fine for me. args = {:blah => ''example'', :foo => ''fishstick''} Model.find :all, :conditions => ["something = :blah and other_thing :foo", args]