Displaying 1 result from an estimated 1 matches for "networkipaddress".
Did you mean:
networkaddress
2006 Mar 30
2
Functional test confusion
...RoR for what seems like hours now
in search of the answer to what is probably a simple problem. Where is
the best place to test the second action explained below?
I have a controller (NetworkingController) with a method
(create_network_segment) that makes use of two models (NetworkSegment
and NetworkIpaddress). This particular method does two actions:
1. Create a new NetworkSegment from the submitted form data
2. Create one NetworkIpaddress for each value of a range
class NetworkingController < ApplicationController
def create_network_segment
# Example attributes = subnet: 192.168.1.0; netmas...