Hi, while starting to setup functional tests for my application I received the following error:
NoMethodError: undefined method `server_name' for #<ActionController::TestRequest which is coming from an instance variable I'm setting up in my application controller. @domain = Domain.find_or_create_by_name(request.server_name) I'm using rails 2.0.2, any guidance would be appreciated. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---