In v1.9.0, the methods redirect_to(and redirect_back) were changed to be private by #56. IMHO this is not correct, because these methods are public by default:
The changed visibility causes issues when using the gem devise, which uses the gem responders internally - see this error in my PingCRM demo application:
LoginTest#test_Login_with_valid_credentials_will_be_successful:
NoMethodError: private method `redirect_to' called for #<Users::SessionsController:0x00000000009dd0>
app/controllers/users/sessions_controller.rb:9:in `create'
This PR restores the original method visibility and adds testing against the responders gem.
In v1.9.0, the methods
redirect_to
(andredirect_back
) were changed to beprivate
by #56. IMHO this is not correct, because these methods arepublic
by default:The changed visibility causes issues when using the gem devise, which uses the gem responders internally - see this error in my PingCRM demo application:
This PR restores the original method visibility and adds testing against the
responders
gem.