> but the inputs in the forms are not showing up with any data-elements

An <input> element does not send out a request.  A <form> sends out a 
request when you click on the submit <button>.  In other words, after 
the user fills out a form, they click the submit button, then the 
browser creates a request containing the info on the form, then the 
browser sends the request to your server, and the server passes the data 
to your rails app.

> and when i change data nothing is sent back to the server

Data gets sent back to the server after you click the submit button. 
It's possible to use javascript to detect an onchange event for an 
<input> element, but you need to know javascript or jquery to do that.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to