mardi 29 décembre 2015

Rails paperclip rename a style

I'm trying to rename a Paperclip style in my Rails app, already in production. I want to rename style "mini" as "small". Is enough changing just in the model?

has_attached_file :photo,
  :styles => {
    :mini => "60x60",
    :medium => "200x200>",
    :large => "300x300"}

Thanks!

Aucun commentaire:

Enregistrer un commentaire