Hallo, seit dem Update von Rails 2.3.5 nach 2.3.8 werden bei mir verschachtelte Daten nicht mehr richtig gespeichert:
Beispiel: ****************************************************************** im Controller: def edit @product = Product.find_by_id(params[:id]) end def update @product = Product.find(params[:id]) @product.update_attributes(params[:product]) ? #do whatever : render(:action => :edit) end im View: <% form_for @product, :url=>{:controller=>'......', :action=>'update'} do |f|%> <% f.fields_for :sub1 do |s1| %> <% s1.fields_for :sub2 do |s2| %> <%= s2.text_field :manuals, :class=>"short" %> <% end %> <% end %> <%end%> Models: Product: has_one :sub1 Sub1: belongs_to :product has_many :sub2 Sub2: belongs_to :sub1 ****************************************************************** Die Daten von sub2 werden nicht mehr gespeichert (product und sub1 hingegen schon). Hat jemand ähnliche Erfahrungen und weiß wie das Problem zu lösen ist? Viele Grüße M. Ladach _______________________________________________ rubyonrails-ug mailing list rubyonrails-ug@headflash.com http://mailman.headflash.com/listinfo/rubyonrails-ug