Hi all
There is a table called ''emails''. It has a field
''body'' which contains
the contents of the email.
It contains rhtml code for ex <%=@user.name>
When this text from database is included in the actual email to be
sent
for ex @email.body, then the rhtml text is not parsed, ie the
@user.name stays as it is, and is not replaced by the name of the
user.
Can anyone suggest a solution?
Regards,
Pankaj
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---