标签: mysql ruby-on-rails activerecord schema
是否可以从rails模式(或迁移)生成rails模型?
答案 0 :(得分:6)
你见过这个吗?
http://magicmodels.rubyforge.org/magic_model_generator/
答案 1 :(得分:3)
另外值得一试的是“Rails-Models-Reverse-Engineering”(rmre)gem:https://github.com/bosko/rmre