Rails 3.1.3

I have a general question about Ajax update.

Say, I have an array of javascript objects like,

arryObj = [Object1, Object2, Object3...]

Each object has fields like

Object.date = "..."
Object.text = "..."

Surely, a Rails model has the same fields.

Is there anyway to update the entire model from these javascript objects
using Ajax?

In other words, I have done Ajax update in the form of

<%= form_for script, :remote=>true do |f| %>

This worked fine when dealing with partial data.  I want to update it
entirely now.

Thanks.

soichi

-- 
Posted via http://www.ruby-forum.com/.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to