Tuesday, January 22, 2013

Re: [Rails] Need to change jquery version in my rails project

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/devguide#jquery

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate