I decided that I use paperclip to handle my images.
I have this model for posts
class Micropost < ActiveRecord::Base
attr_accessible :content, :user_id
So according to the manual I have to do this :
But :photo is never used anywhere.
So do I have to change something or did I misunderstand the manual.