Permalink
Browse files

Renamed migration template

  • Loading branch information...
1 parent a917943 commit ca9cab488bb536dcac21c2cc8f3b08d8eb07e449 @mdarby committed Feb 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 generators/mq/mq_generator.rb
@@ -39,7 +39,7 @@ def manifest
m.template "email.rb", File.join('app/models', "#{table_name.singularize}.rb")
# Migrations
- m.migration_template "create_email_table.rb", "db/migrate", :migration_file_name => "create_mq_table"
+ m.migration_template "create_email_table.rb", "db/migrate", :migration_file_name => "create_#{object_name}_table"
# Views
m.template "views/index.html.erb", File.join("app/views/#{table_name}", "index.html.erb")

0 comments on commit ca9cab4

Please sign in to comment.