Displaying 1 result from an estimated 1 matches for "send_to_friend".
2005 Dec 24
10
can''t find view from Mailer?
...o Rails (and Ruby), and so far
it''s been a great experience. I haven''t been able to get around one
problem though. When trying 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:...