Adding paperclip for avatars, fixing design of the public pages
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
class AddAttachmentAvatarToAccounts < ActiveRecord::Migration
|
||||
def self.up
|
||||
change_table :accounts do |t|
|
||||
t.attachment :avatar
|
||||
end
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_attachment :accounts, :avatar
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user