search for: tell_friend_control

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

2005 Dec 24
10
can''t find view from Mailer?
...ng to use the mailer, I recieve an error like this: ActionView::ActionViewError in Tell_friend#send_email No rhtml, rxml, or delegate template found for send_to_friend The scenario is this: A form on a page is submitted to a controller "tell_friend", action "send_email". In tell_friend_controller.rb''s send_email(), mail is sent like this: TellFriend.deliver_send_to_friend(params[:address]) The model, tell_friend.rb, contains this: class TellFriend < ActionMailer::Base def send_to_friend(address) # Email header info MUST be added here...