I'm using a polymorphic Picture model to associate images with other models like User, Place etc.
As paperclip docs, Picture model can define a set of styles using:
has_attached_file :avatar, :styles => { :medium => "300x300>", :thumb => "100x100>" }
But being a polymorphic and associated to different models the required styles per entry will be different. To solve this how can i set custom styles on the fly?