Skip to content
Browse files

document meta method

  • Loading branch information...
1 parent 9e39fd9 commit b57773c738e2e8f75e92739cf93e402f2a151d5d @vijaydev vijaydev committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_dispatch/http/request.rb
View
6 actionpack/lib/action_dispatch/http/request.rb
@@ -29,9 +29,9 @@ class Request < Rack::Request
ENV_METHODS.each do |env|
class_eval <<-METHOD, __FILE__, __LINE__ + 1
- def #{env.sub(/^HTTP_/n, '').downcase}
- @env["#{env}"]
- end
+ def #{env.sub(/^HTTP_/n, '').downcase} # def accept_charset
+ @env["#{env}"] # @env["HTTP_ACCEPT_CHARSET"]
+ end # end
METHOD
end

0 comments on commit b57773c

Please sign in to comment.
Something went wrong with that request. Please try again.