search for: deliver_comment_alert

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

2006 Mar 14
1
ActionMailer Error - Please Help!
..."Lname" @body["title"] = post.title end end #controller def comments content = Content.find(params[:id]) comment = Comment.new(params[:comment]) content.comments << comment content.save #call to send the email after the comment is saved Notifier::deliver_comment_alert(content) redirect_to :back end #view - notifier.rhtml <p> Hello <%= @first_name %> <%= @last_name %>, There''s a new comment on <%= @title %>. </p> I''m getting an "Application error (Rails)" error. If you see something wrong here, c...