Hi, while starting to setup functional tests for my application I
received the following error:
NoMethodError: undefined method `server_name’ for
which is coming from an instance variable I’m setting up in my
@domain = Domain.find_or_create_by_name(request.server_name)
I’m using rails 2.0.2, any guidance would be appreciated.