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

后端 未结 0 435
半阙折子戏
半阙折子戏 2020-12-22 15:59

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

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