mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
94b230e189
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 |
||
---|---|---|
.. | ||
active_record | ||
active_record.rb |