fullpath()
Returns the String full path including params of the last URL requested.
# get "/articles" request.fullpath # => "/articles" # get "/articles?page=2" request.fullpath # => "/articles?page=2"
# File actionpack/lib/action_dispatch/http/request.rb, line 192 def fullpath @fullpath ||= super end
fullpath includes request parameters in the result