Is it possible to use string keys for named query params? I have a very dynamic query builder for and Admin site, and I would like to avoid the extra memory use of permanently storing every key used as a symbol
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/15e21d12-8d43-415c-8b19-5966ee93d22a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
SomeModel.where("my_column = :named", {"named" => "value"})
Doesn't work. You get a arg not found error