Permalink
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/paperclip/paperclip_generator.rb
@@ -19,7 +19,7 @@ def generate_migration
protected
def migration_name
- "add_attachment_#{attachment_names.join("_")}_to_#{name.underscore}"
+ "add_attachment_#{attachment_names.join("_")}_to_#{name.underscore.pluralize}"
end
def migration_file_name

0 comments on commit 28e2d1b

Please sign in to comment.