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
can you show an example of your code? you can always do “somestring” => “somevalue” instead of somestring: “somevalue”
Nope, you can't always just do that
SomeModel.where("my_column = :named", {"named" => "value"})
Doesn't work. You get a arg not found error