Pollution Heavy ORM INspector/eXtractor. Use it to inspect a bloated Rails application and extract just the ActiveRecord classes. Then plug those into your Rails re-write! Or just use it to play around with the database, or something.
It was written to make a really simple and fast console ActiveRecord application on top of a really old Rails 2 application's database.
$ gem install phorminx
If you load 'phorminx' while within your Rails environment (in the console, for example, or in a runner script), you can just do something like
ActiveRecord.export
It will spit out all known classes as stripped down ActiveRecord subclasses (source code).
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request