Displaying 1 result from an estimated 1 matches for "alastairmoore".
2007 Oct 24
1
Attachment_fu and observers/emailing
...f after_create(user)
UserMailer.deliver_signup(user) unless user.activation_code.blank?
UserMailer.deliver_notification(user)
end
end
The problem I''m having is when the deliver_notification method is
called, I get an error reporting:
No such file or directory - /users/0000/3472/alastairmoore.cv.pdf
Now I''m guessing that attachment_fu hasn''t moved the file from a
temporary location to /users/0000/3472 by the time the observer fires
off. Would this be correct and if so, can anyone suggest a way round
this?
Many thanks,
Alastair
--~--~---------~--~----~------------~...