Rails 4 logs query parameters in development.log
I noticed that after upgrade to Rails 4, some SQL statements have an array
of parameters after them in the log file, and some don't.
Example:
SELECT assets.* ... LIMIT 10 [["resource_id", 5551], ["resource_type",
"Event"]]
What is this information for and why a lot of other statements are listed
without such information, but just a raw query?
No comments:
Post a Comment