Closed dlupu closed 8 years ago
We need to check since what version of rails env
available from request. Thank you for your PR!
gon.gemspec specificate actionpack is required 3.0.0 or higher.
So, I will check to exist request.env
in Rails 3.0.0.
As a result, it is exists.
Thank you @dlupu & @takiy33 !
@gazay , When is this gem deployed for including this issue ? Now, rails 5 has been released and I use it and still gon, too. So deprecation warning about env pops out whenever gon is executed! it bother me.. T^T
v 6.1.0 pushed
this commit deprecated
env
in favor ofrequest.env