to_sql not working on update_attributes or .save

后端 未结 2 761
青春惊慌失措
青春惊慌失措 2021-01-25 21:16

I\'m looking for a way to store the sql string that is generated in an update or create action. I\'ve tried appending .to_sql to the end of update_attributes<

2条回答
提交回复
热议问题