阅读背景:

为ActiveRecord模型创建/保存提取生成的sql

来源:互联网 

The operations department doesn't allow migrations in production. I now have the need to supply the sql statements to insert some records -- I know it's possible to call 'to_sql', with arel, and extract the sql from finders.The operations department doesn't allow migrati




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: