It looks like the ActiveRecord and generators namespace conventions are inconsistent. Sometimes the model's table name defaults to 'module_classname' and sometimes to just 'classname.' I'm happy to submit patches and tests, but what is the preferred default?
Example: /script/generate model -t carnivores/tiger name:string Generator uses table_name 'carnivores_tigers' for fixtures and migrations Base#table_name defaults to 'tigers' Base#table_name rdoc say 'carnivores_tigers' Granted, this can be fixed by explicitly setting the table name in the model class, but this doesn't seem right. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
