Run sqldef with config/database.yml.
gem 'sqldef-rails'
bundle exec rake db:migrate
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sqldef-rails.
The gem is available as open source under the terms of the MIT License.