I am using rails for several years right now, but every time when I use
"mail_to" helper with name I have tendency to put name like first attribute
and email like second. It is because in my eyes mail_to should be similar
like link_to where name and then path is standard syntax right now.
I propose to change it so it will work like that:
mail_to("[email protected]") => <a
href="mailto: [email protected]"> [email protected] </a>
mail_to("link text", "[email protected]") => <a
href="mailto: [email protected]">link text</a>
What you think? Do you have same feeling about it?
Thanks.
Daniel
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.