Forum: Ruby on Rails Need to change jquery version in my rails project

Posted by Saravanan P (Guest)
on 2013-01-23 07:37
(Received via mailing list)
Hello everyone,

  Currently my rails 3.2.8 project loading jquery 1.9.0
  In this jquery 1.9.0 live() method not working.

How can i change loading jquery version?
Please help.
Posted by Jordon Bedwell (Guest)
on 2013-01-23 07:40
(Received via mailing list)
On Wed, Jan 23, 2013 at 12:36 AM, Saravanan P
<saravanan.p@shriramits.com> wrote:
>   Currently my rails 3.2.8 project loading jquery 1.9.0
>   In this jquery 1.9.0 live() method not working.
>
> How can i change loading jquery version?
> Please help.

Remove jquery-rails from your Gemfile, use Google Javascript CDN [1].
Note you'll need to account for your own CSRF.
You'll need to do a few other things look at the jquery-rails source.

[1] https://developers.google.com/speed/libraries/devg...
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.