Added the convert_options code to existing Paperclip code in my user method. Now getting:
/Users/-----/----/-------/app/models/user.rb:148: syntax error, unexpected tASSOC, expecting keyword_end :convert_options => { :small => '-quality 40' }
What am I missing?
User Model:
...
# Paperclip
has_attached_file :photo,
:styles => {
:small => ["50x50#", :jpeg],
:big => ["450x450#", :jpeg]
}
:convert_options => {
:small => '-quality 40'
}
validates_attachment_size :photo, :less_than => 5.megabytes
validates_attachment_content_type :photo, :content_type => ['image/jpeg', 'image/png']
...