nested models 3 levels deep not saving properly
Sorry but the problem still exist...any help?? I used the same pattern as above... I have a scaffold Product..and two models productnumbers and serialnumber.. 

Product.rb
has_one :productnumber
accepts_nested_attributes_for :productnumber

Productnumber.rb
belongs_to :product
has_many :serialnumbers
accepts_nested_attributes_for :serialnumbers

serialnumber.rb
belongs_to :productnumber

The form shows up fine and I can input data and create or update without problems but the serialnumber is not saved at all. When editing the product, the serialnumberfield is blank however it had data when the product was created.

Only the product and productnumber are saved but serialnumber isn't saved

Rails doesn't give an error that the serialnumber isn't saving. 
Any help how to save the serialnumber that is part of productnumber??


nested models 3 levels deep not saving properly
===

Sorry but the problem still exist...any help?? I used the same pattern as above... I have a scaffold Product..and two models productnumbers and serialnumber.. 

Product.rb
has_one :productnumber
accepts_nested_attributes_for :productnumber

Productnumber.rb
belongs_to :product
has_many :serialnumbers
accepts_nested_attributes_for :serialnumbers

serialnumber.rb
belongs_to :productnumber

The form shows up fine and I can input data and create or update without problems but the serialnumber is not saved at all. When editing the product, the serialnumberfield is blank however it had data when the product was created.

Only the product and productnumber are saved but serialnumber isn't saved

Rails doesn't give an error that the serialnumber isn't saving. 
Any help how to save the serialnumber that is part of productnumber??

