I am getting confused on how to do this. I want to send a link in an
email that they can click on. I am confused on whther to use link_to
vs url_for. I would also like to pass in a addional param in the
Link_to only generates text not a link.
This the definition in the model ActionMailer.
subject "Activation Link for your DrugBin Reminders"
body :reminderinfo => reminderinfo
emailactivate.rhtml (is there a difference in putting this as a
<%= url_for(:host => APP_CONFIG['settings']['domain'], :controller =>
'/user/dashboard', :action => 'activateemail', :id =>
@reminderinfo.id, :code => @reminderinfo.confirmation ) %>.
<%= link_to "Confurm", :controller => '/user/dashboard', :action =>
'activateemail', :id => @reminderinfo.id, :code =>