pepe wrote:
> I believe you are missing an input field for your updated value. The
> submit will pass along the values of the input fields. Something you
> just 'write' inside a <div> tag will not be considered 'input' data.
> You could try to replace the <div> with something like <
> %= :chapter.field_text :container... %>
> 
> Pepe

Hi Pepe,

Thanks for your advice..
I still don't get how it supposed to work though.
I am still not sure how to get it work by replacing the <div> tag.
I tried to replace the <div> tag with
<% input type="text", id="chapter_container", name="chapter_container" 
%>
but it keep giving me error "The error occurred while evaluating 
nil.column_for_attribute".
Any idea?

Thanks
-- 
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