RubyGems.org

ez_model

1.0.6

Generate models and schema.rb from existing(legacy) database just in one command line. If you prefer design ER diagram and export scripts to generate database schema, or if you have to work with a legacy database, this can save you insane amount of time. All you need to do is to have a database.yml configuraiton file in ~/config/. Besides creating all models it sets proper table name and primary key if tables and columns naming doesn’t follow Rails convention. It also tries to read all foreign keys data from a database. It uses Rmre as underlying reverse engine to generate models...

installgem install ez_model -v 1.0.6
Authors

Tianyu Huang

10,118 total downloads 981 for this version
Owners

A4aea62d40459d58a498f041a0bcdea6

Gemfile
gem 'ez_model', '~> 1.0.6'
Versions
  1. 1.0.9 June 21, 2012 (62 KB)
  2. 1.0.8 June 18, 2012 (62 KB)
  3. 1.0.7 April 22, 2012 (62 KB)
  4. 1.0.6 April 16, 2012 (10 KB)
  5. 1.0.5 April 16, 2012 (10.5 KB)
Show all versions (10 total)