Re: ActionMailer and Authlogic error

Colin Law
2011-06-18T14:54:23Z

On 17 June 2011 22:50, unclemantis
<unclemantis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> This is my first post to the mailing list.
>
> https://gist.github.com/46dc099c344c19002a79
>
> I am getting the runtime error
>
> You can no longer call ActionMailer::Base.default_url_options
> directly. You need to set config.action_mailer.default_url_options. If
> you are using ActionMailer standalone, you need to include the routing
> url_helpers directly.
> Rails.root: /home/unclemantis/rails_projects/raffle
>
> I have this line in my development.rb file
>
> config.action_mailer.default_url_options = { :host =>
> ''69.164.197.155'' }
>
> What''s going on? I don''t see where I am calling
base_url_options
> directly anymore. I commented out where I was.

Do you get a stack trace?  If so post it here along with the full error message.

Colin