search for: network_ipaddress

Displaying 2 results from an estimated 2 matches for "network_ipaddress".

Did you mean: networkipaddress
2006 Mar 30
0
Specify callbacks before associations
...he callbacks before specifying the associations. Otherwise, you might trigger the loading of a child before the parent has registered the callbacks and they won?t be inherited." Does this mean a model should be defined as: class NetworkSegment < ActiveRecord::Base after_create :create_network_ipaddresses after_update :update_network_ipaddresses has_many :network_ipaddresses, :order => octet4 #... end or class NetworkSegment < ActiveRecord::Base has_many :network_ipaddresses, :order => octet4 after_create :create_network_ipaddresses after_update :update_network_ipaddresse...
2006 Mar 30
2
Functional test confusion
...orkSegment Load (0.002151) SELECT * FROM network_segments My assumption is that functional tests are used to test the actions I have been trying to implement in my controller. Once I can test for a successful save to the database I''ll try to move on to testing for the addition of the network_ipaddresses to the database. My apologies if this post is confusing. Any help is greatly appreciated. -Jer -- Posted via http://www.ruby-forum.com/.