I just add a ticket with a patch for a generator for STI models. As explained in the ticket, if you want to generate a model which use STI mechanism, you have to use model generator with 2 options to avoid fixtures/migration creation and manually edit model file to set the right parent class. I felt the need for a simple generator to generate this class, without having to add several options and modify generated code. The provided patch applies cleanly in master and 2-3-stable branches. Generator is provided with documentation and tests. Ticket with patch: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2702-single-table-inherited-model-generator Thanks -- http://fabien.jakimowicz.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---