aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/test_test.rb
diff options
context:
space:
mode:
authorAleksey Magusev <lexmag@gmail.com>2012-06-25 22:01:31 +0400
committerAleksey Magusev <lexmag@gmail.com>2012-06-27 18:12:28 +0400
commit94b230e189e7241b96dcbfb41ceabedf7cfd14ac (patch)
tree58663586bb6cf80f19c36f20575b1ef53e393cc0 /railties/test/application/test_test.rb
parent51b055b6d11f439ce16c30167ad807d2a7b70532 (diff)
downloadrails-94b230e189e7241b96dcbfb41ceabedf7cfd14ac.tar.gz
rails-94b230e189e7241b96dcbfb41ceabedf7cfd14ac.tar.bz2
rails-94b230e189e7241b96dcbfb41ceabedf7cfd14ac.zip
Add polymorphic option to model generator
For instance, $ rails g model Product supplier:references{polymorphic} generate model with `belongs_to :supplier, polymorphic: true` association and appropriate migration. Also fix model_generator_test.rb#L196 and #L201
Diffstat (limited to 'railties/test/application/test_test.rb')
0 files changed, 0 insertions, 0 deletions