Hi Dieter
Your answer, if I undersood correctly is to specify like
config.action_mailer.default_url_options = { :host => "localhost:3000" }
in enviroment. This is what I do now. But my question is how to
make it dynamic. Means some thing like
config.action_mailer.default_url_options = { :host =>
request.host_with_port() }
And also only at a single place to make it DRY
Tom
--
Posted via http://www.ruby-forum.com/.
--
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.