Please disregard my question above..   I figured out what I was doing
wrong.
In the controller (in "def new"), I had

@transport.transports_transits.build

which was the problem all along.  This was the reason I had one record
in the nested table even when there was no transit record entered by
the user.  I commented it out, deleted the " if visible" part in
helper method, and made the nested transit form visible to start with
and everything works fine now.

Colin, thanks anyway - I learned how to read the params somewhat and
now I know about the ruby-debug gem! :-)

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