public
Description: Paperclip File Management Plugin
Homepage: http://www.thoughtbot.com/projects/paperclip
Clone URL: git://github.com/thoughtbot/paperclip.git
Fixed missing .erb in generator
jyurek (author)
Thu Aug 21 08:02:32 -0700 2008
commit  2a1583617b1132c4486b665a038e6ae185fe16e4
tree    b27f684cfa3f9639e5b185f5b1202a370b4f1c4d
parent  978b1e9801a02f90e0576501ff7dab98ed7e4249
...
10
11
12
13
 
14
15
16
...
24
25
26
27
28
 
...
10
11
12
 
13
14
15
16
...
24
25
26
 
27
28
0
@@ -10,7 +10,7 @@ class PaperclipGenerator < Rails::Generator::NamedBase
0
     file_name = generate_file_name
0
     @migration_name = file_name.camelize
0
     record do |m|
0
- m.migration_template "paperclip_migration.rb",
0
+ m.migration_template "paperclip_migration.rb.erb",
0
                            File.join('db', 'migrate'),
0
                            :migration_file_name => file_name
0
     end
0
@@ -24,4 +24,4 @@ class PaperclipGenerator < Rails::Generator::NamedBase
0
     "add_attachments_#{names.join("_")}_to_#{@class_name.underscore}"
0
   end
0
  
0
-end
0
\ No newline at end of file
0
+end

Comments

    No one has commented yet.