How can I see the SQL that will be generated by a given ActiveRecord query in Ruby on Rails

后端 未结 0 363
小蘑菇
小蘑菇 2020-12-22 16:01

I would like to see the SQL statement that a given ActiveRecord Query will generate. I recognize I can get this information from the log after the query has been issued, bu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题