Commit af5481e0 by jyurek

Should not camelize the class name

git-svn-id: https://svn.thoughtbot.com/plugins/paperclip/trunk@214 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
parent 0a90942f
...@@ -7,7 +7,7 @@ class PaperclipGenerator < Rails::Generator::NamedBase ...@@ -7,7 +7,7 @@ class PaperclipGenerator < Rails::Generator::NamedBase
end end
def manifest def manifest
file_name = "add_paperclip_attachment_columns_to_#{@class_name.underscore.camelize}" file_name = "add_paperclip_attachment_columns_to_#{@class_name.underscore}"
@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",
......
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