Paul Jonathan Thompson
2006-Jun-27 22:21 UTC
[Rails] mail_to link where the recipient is a variable
Hi, I want to put a mail_to link in my views, where the recipient is a variable stored in the database. It is not clear to me how I would do this from reading the docs. Could someone please explain or point me in the right direction. Thanks, Paul
Paul Jonathan Thompson wrote:> Hi, > I want to put a mail_to link in my views, where the recipient is a > variable stored in the database. It is not clear to me how I would do > this from reading the docs. Could someone please explain or point me > in the right direction. > > Thanks, > > Paul<%=mail_to @variable.stored_in_database, "Linky Link"%> ? -- Posted via http://www.ruby-forum.com/.
Paul Jonathan Thompson
2006-Jun-28 06:22 UTC
[Rails] Re: mail_to link where the recipient is a variable
Thanx''s David. Problem sorted out. Regards, Paul On 28/06/06, David C. <dave@pezians.com> wrote:> Paul Jonathan Thompson wrote: > > Hi, > > I want to put a mail_to link in my views, where the recipient is a > > variable stored in the database. It is not clear to me how I would do > > this from reading the docs. Could someone please explain or point me > > in the right direction. > > > > Thanks, > > > > Paul > > <%=mail_to @variable.stored_in_database, "Linky Link"%> > > ? > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >