Closed lgrains closed 5 years ago
Seems like the helper providing the #auto_session_timeout_js method isn't getting loaded properly. This gem has only been tested against Rails 3. I have no idea if it works with Rails 4 or not.
I don't think this is an issue anymore. I followed the readme and successfully installed using a Rails5 setup.
Verified working in 4.2.0 as of today! The javascript needed minor modification for the redirect to work in my environment. PR created: https://github.com/pelargir/auto-session-timeout/pull/25
@lgrains please re-open this issue if you're still getting the undefined method error.
I get the error
auto_session_timeout_js is not defined
after I added this into my layout:I'm using Rails 4.2.0 I think I have everything else set up correctly - do you have any suggestions?
One more edit, I installed
jquery-auto-session-timeout
but putting it in my Gemfile and running bundle install. However, I still get the same error.Thanks!