The new and cool syntax allows me t开发者_如何学运维o write: link_to some_path, :remote => true
I have a Rails 3.0 app which is using a normal :remote => true option for a form_for.It works correctly in all browsers except IE9.Even IE8 works ok.But in IE9, I can see by using the F1开发者_如何学运
Using Rails 3.1 jquery_ujs, I have a link with :remote => true, and the controller new action responds with js and render new.js.erb which contains:
I am using Coffeescript template in my Rails 3.1 app, so in my app/assets/javascripts/post.js.coffee file, I have something like:
I have been struggling terribly for the better part of the day with the following problem: I have a rails 3.1 app - running fine
Ok, i\'ve been using ajax in my rails apps for quite some time. Somehow, in my first Rails 3.1 app I can\'t get the basics to work..
I was just going through this old rails cast episode, and one thing it mentions is the (now obsolete, apparently) link_to_function code. One interesting snippet it mentions is
Is there a simple RESTful way to have a fallba开发者_开发问答ck url for the link_to with :method => :delete that will work for folks who have javascript disabled?
I have a simple form: = form_for(posts_path, :id => \"new_post\", :remote => true) do = text_field_tag \"post[input]\"
I am just wondering if there are any Rails 3 books that can help with Rails3 UJS understanding it etc, along with beginner rails3 chapters? Even if there is a book only about Rails3 UJS, that would be