activerecord dowsing 源码
Activerecord ::正在寻找 在SQL中自动在其中调用的地方添加注释。 这对于代码读取很有用。 安装 将此行添加到您的应用程序的Gemfile中: gem 'activerecord-dowsing' 然后执行: $ bundle 或将其自己安装为: $ gem install activerecord-dowsing 用法 您可以通过配置启用“ activerecord-dowsing”。 config / application.rb config.x.activerecord_dowsing.enabled = true “ activerecord-dowsing”更改所有查询(带有注释)。 SELECT `id` FROM `users` /* changes */ SELECT `id` FROM `users` /* /app/controller
下载地址
用户评论