Use Rails.env instead of ENV["RAILS_ENV"] #53

svoynow opened this Issue Sep 13, 2011 · 3 comments


None yet

2 participants

svoynow commented Sep 13, 2011

No description provided.

svoynow commented Sep 13, 2011

it looks like support for ENV["RAILS_ENV"] was removed in rails 3.1. It's always nil now, which means that skip_verify_env is broken.

svoynow commented Sep 13, 2011

Actually, this looks a little more complicated than that, as Rails.env isn't (necessarily) available there. One solution would be to write a generator to create a recaptcha initializer that passes Rails.env into the configuration.


Auto-closing old issues, consider re-opening with a pull request if needed.

@ambethia ambethia closed this Feb 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment