search for: deliver_notif

Displaying 1 result from an estimated 1 matches for "deliver_notif".

2007 Oct 24
1
Attachment_fu and observers/emailing
...account, I''ve got an observer that will email the site admin with a copy of the uploaded CV. My user_observer looks something like: class UserObserver < ActiveRecord::Observer def 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 locat...