Ok, solved the first subpart.

In contact_email.html.erb I do not have access to all variables of the
mode but only to
the contents of the hash @body. So this is working:

Body: <%= @email_body %>
Name: <%= @email_name %>

Still I am not sure how to solve this for send_mail.html.erb, but
probably a render function is missing here or not correct.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to