Replace the file_column plugin with paperclip

This commit is contained in:
Tom Hughes 2012-01-21 13:23:27 +00:00
parent 29c1bab0e6
commit e70396d70b
33 changed files with 34 additions and 2910 deletions

View file

@ -0,0 +1,9 @@
class SwitchToPaperclip < ActiveRecord::Migration
def up
rename_column :users, :image, :image_file_name
end
def down
rename_column :users, :image_file_name, :image
end
end