hi,

 could you tell me the line you got error ?

 it sounds like u r going a add a HamtranZeeldegchs row.

 if @personal_information.save
      HamtranZeeldegchs.new(params[:hamtran_zeeldegch]['0'])   # This
line
is may a error.
      hzs = HamtranZeeldegchs.new(params[:hamtran_zeeldegch]['0'])
      hzs.personal_information_id = @personal_information.id
      hzs.save



   -------------------------

   in create action.
   include the line p params in the beginnig and debug the params that
are coming to this create action

   and you can save it hzs.personal_information_id = specific param

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