> > > I simply substitute the follow line > > Mailer.invitation(@invitation,signup_url(@invitation.token)).deliver > > with this > > Mailer.invitation(@invitation,signup_url(@invitation.token)).deliver > > try this , go to the console and type rails c, then type this
r = ActionController::Routing::Routes then r.generate :controller => :invitations, :action => create , : invitation_token => "123" see if it generates what you want , then use Mailer.invitation(@invitation,url_for (:controller => :invitations, :action => create , : invitation_token => @invitation.token,:method => :post)).deliver -- 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.

