Displaying 1 result from an estimated 1 matches for "server_control".
2006 Jan 13
2
New View Example With Child Object?
...rs (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 is very simple. It has two rows, id and
server_id. Where would I look for example code for new.rhtml and
server_controller.rb?
Thanks for the help!
- Don
--
Posted via http://www.ruby-forum.com/.