Commit 2a158361 by Jon Yurek

Fixed missing .erb in generator

parent 978b1e98
...@@ -10,7 +10,7 @@ class PaperclipGenerator < Rails::Generator::NamedBase ...@@ -10,7 +10,7 @@ class PaperclipGenerator < Rails::Generator::NamedBase
file_name = generate_file_name file_name = generate_file_name
@migration_name = file_name.camelize @migration_name = file_name.camelize
record do |m| record do |m|
m.migration_template "paperclip_migration.rb", m.migration_template "paperclip_migration.rb.erb",
File.join('db', 'migrate'), File.join('db', 'migrate'),
:migration_file_name => file_name :migration_file_name => file_name
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment