Update to paperclip 4.x and add content type validation

This commit is contained in:
Tom Hughes 2014-02-10 00:34:23 +00:00
parent 6d8fb474af
commit e36aa53f49
5 changed files with 20 additions and 11 deletions

View file

@ -0,0 +1,5 @@
class AddUserImageContentType < ActiveRecord::Migration
def change
add_column :users, :image_content_type, :string
end
end