Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed missing .erb in generator

  • Loading branch information...
commit 2a1583617b1132c4486b665a038e6ae185fe16e4 1 parent 978b1e9
@jyurek jyurek authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 generators/paperclip/paperclip_generator.rb
View
4 generators/paperclip/paperclip_generator.rb
@@ -10,7 +10,7 @@ def manifest
file_name = generate_file_name
@migration_name = file_name.camelize
record do |m|
- m.migration_template "paperclip_migration.rb",
+ m.migration_template "paperclip_migration.rb.erb",
File.join('db', 'migrate'),
:migration_file_name => file_name
end
@@ -24,4 +24,4 @@ def generate_file_name
"add_attachments_#{names.join("_")}_to_#{@class_name.underscore}"
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.