Hi Tom,
thx for your super quick reply.
is_attachment :image_engine => :rmagick, :image_versions => { :small =>
{ :cropper => [230,230] }}, :validate => {:min_width => 230, :min_height
=> 230, :content_type => :image }
Cheers,
P.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--
Hi Petan,
That's clearly not enough code to help you. What are the validations
on you version model?
Besides that it's good practice to not user save! but only save.
ciao, tom
On Jan 30, 10:38 am, Petan Cert
wrote:
> version.filename = file_name_for_version(version_name)
> begin
> versi
2 matches
Mail list logo