This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
Error in jQuery document ready handler in Rails 4 #26
Comments
I downgraded to 1.0 and it's working again, so this seems like a 2.0 problem. |
Oh man, seems like |
rstacruz
added a commit
that referenced
this issue
Aug 25, 2013
Just issued a fix. See if this helps—it should now work as expected. For now, you'll need to upgrade to the latest unreleased version to try it out. gem 'jquery-turbolinks', github: 'kossnocorp/jquery.turbolinks'
|
Thanks, that seems to work. |
@kossnocorp I've bumped to v2.0.1 (and even drafted a release in /releases) — feel free to |
That didn't work for me, still have the same issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This worked fine in Rails 3.2. I'm updating to Rails 4 and experiencing an error in my document ready handlers. If I remove jquery.turbolinks from my application.js, the error goes away.
behavior.js is a file with a declaration like this:
On page load, I get the following error:
The text was updated successfully, but these errors were encountered: