paperclip and imagemagic

-add "paperclip" gem and bundle install

-adding advertisement to user
$ rails generate paperclip user advertisement
* attr_accessible :advertisement
* has_attached_file :advertisement

-update views
* form.file_field :advertisement
* image_tag @user.advertisement.url