rails g model profile user_id:integer profile:text
rails g uploader avatar
migrate
rails g migration add_avatar_to_profiles avatar:string
migrate