Request.env_table method undefined in functional test

when i make a functional test for an action which access the server
variables with e.g.

@user.last_ip = request.env_table[‘REMOTE_ADDR’]

my functional test breaks… it says that the ‘env_table’ method is
the application runs fine with it, only the testing environment does not
recognize this method …

any commentS?

nobody any clue?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs