I keep running into this one: Immediately after EventMailer.deliver_whatever, url_for doesn''t work with the usual parameters, e.g., url_for(:controller => ''monkeys'', :action => ''fly'', :something => "some_parameter") I consistently get an exception, with the message: undefined method `rewrite'' for #<String:0x277e9f4> The rest of the stack trace shows that the exception is indeed being generated by url_for All of this works fine if I call it before EventMailer.deliver_blah. Does anybody have an idea what might be happening? Thanks, --Al Evans -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---