Marcus Mansur
unread,Nov 4, 2009, 2:09:28 PM11/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Paperclip Plugin
Hi, my avatar model has_attached_file :attach,
:styles => {:original => "70x77"},
:path => ":rails_root/public/uploads/
avatar/:id.:extension",
:url => "/uploads/avatar/:id.:extension"
and validates_attachment_presence :attach
but when i do something like this:
a = Avatar.new
a.save
the record is saved :O