Displaying 1 result from an estimated 1 matches for "some_list_of_options".
2006 Jan 13
2
New View Example With Child Object?
Could somebody point me to some example code? This must be simple, I
just can''t find any examples. I need a new view (new.rhtml) to include
the creation of a child object. I have a table for servers (Servers)
and a table for IP Addresses (Ips).
Server
has_many :ips
Ip
belongs_to :server
In my new.rhtml I want the IP entered to become a record in the Ips
table. The Ips table