Comments (16)
+1
from jquery-rails.
This is coming soon. I'm finishing up some backlogged bug-fixes for 1.7 today, and then I'll add support for 1.8.
from jquery-rails.
also jquery-ui and jquery-ujs can be updated too.
from jquery-rails.
@slbug Exactly. I gotta get some bugs fixed with jquery-ujs, then I can add jquery 1.8 support to jquery-ujs, then I can update jquery-rails with 1.8. So, don't fret, it's on its way!
from jquery-rails.
Maybe it will be better to separate jquery-ujs and jQuery for Assets Pipeline? If i use something like https://github.com/kenn/jquery-rails-cdn , but don’t use UJS, I must wait too long for update because of compatibility issues with UJS (unecessary for me) :(.
from jquery-rails.
@ai I don't understand what you're saying. This gem adds jquery-ujs to rails.
from jquery-rails.
I mean that a lot of users use your gem to get just jQuery for Assets Pipeline.
from jquery-rails.
I had no idea anyone was using it for that. The jquery-rails gem has always had the express purpose of including jquery-ujs in your rails app (even before the asset pipeline existed). Core rails ajax functionality actually depends on either prototype-ujs or jquery-ujs (or theoretically any other ujs gem) to work, so I would think the vast majority of people actually use the jquery-rails gem just to make rails work.
But if you are only using jquery (i.e. not using any :remote => true
, :confirm
, :disable
, or :disable_with
links/forms/inputs, or any :method => [post|put|delete]
links in your entire rails app), you're probably better off just not using the gem and instead putting jquery.js in your vendor/assets/javascripts
directory where it will automatically be included in your asset pipeline.
from jquery-rails.
Update to jquery-rails 2.1.0.
from jquery-rails.
Thanks for the prompt update, @JangoSteve! Have some GitHub Karma (omg that's a good idea right there).
from jquery-rails.
Got a really stupid question here, but does anyone have any inkling why it might be the case that I am using jquery-rails 2.1.1 and yet $.fn.jquery
is returning 1.7.2? I updated my bundle, and gemfile.lock reflects the update as expected.
from jquery-rails.
@alanhogan did you check the browser cache?
from jquery-rails.
Naturally I did a hard refresh. That should be enough, right, since I am using the asset pipeline, I believe…?
On Aug 22, 2012, at 4:55 AM, Jan Dudulski [email protected] wrote:
@alanhogan did you check the browser cache?
—
Reply to this email directly or view it on GitHub.
Alan Hogan
IFTTT
from jquery-rails.
@alanhogan Hard to say, but something is either cached or misconfigured. I'd make sure that bundle show jquery-rails
outputs 2.1.x, restart your rails app, actually clear your browser's cache, and then refresh the page.
from jquery-rails.
Restarting the rails app did it. I should have tried that earlier. Thank you!
On Aug 22, 2012, at 9:13 AM, Steve Schwartz [email protected] wrote:
@alanhogan Hard to say, but something is either cached or misconfigured. I'd make sure that bundle show jquery-rails outputs 2.1.x, restart your rails app, and also actually clear your browser's cache and then refresh the page.
—
Reply to this email directly or view it on GitHub.
Alan Hogan
IFTTT
from jquery-rails.
;-)
from jquery-rails.
Related Issues (20)
- url.indexOf is not a function in jQuery.fn.load = function( url, params, callback ) HOT 1
- CVE-2019-5428 HOT 1
- Security issue with jquery 3.4.1 HOT 7
- Issue a security advisory for versions < 4.4.0 HOT 5
- jQuery not loading HOT 3
- jquery-rails with Spockets 4 JS HOT 1
- Dropping `git` in gemspec & using Packaging extension HOT 1
- Update jQuery to v3.6.0 HOT 4
- The Jquery V3.5.0+ already removed trim method.
- Update `jquery-rails` to include new jquery-ujs for better Turbo compatibility HOT 1
- JQuery 3.6.1 released HOT 1
- Rails 7 with importmap HOT 3
- What is the status of v4.5.1 ? HOT 1
- jquery-rails doesn't work correctly in Rails 7 HOT 2
- Drop support for jQuery 1 & 2
- allert does not work HOT 1
- Update jQuery to v3.6.4 HOT 1
- JQuery 3.7.0 released HOT 7
- JQMIGRATE: jQuery.fn.submit() event shorthand is deprecated HOT 1
- jQuery 3.7.1 released HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-rails.