[Rails] UJS in Rails 3 Beta
Hi All,
Does anyone know if there are any good examples of how to use the
unobtrusive javascript functionality in Rails 3. I've read the
release notes but I can't seem to get things working.
I've just set up a simple Rails app with a Post model. In the "_form"
partial I have add the ":remote => true" parameter, as required. When
I submit the form it saves the record asynchronously, as expected but
it doesn't redirect to the appropriated page afterwards.
Any ideas what I'm doing wrong?
Thanks!
Phil
--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home