search for: host_scheduled_downtim

Displaying 1 result from an estimated 1 matches for "host_scheduled_downtim".

2006 Aug 11
0
habtm in a standalone ruby script broken?
...by script which uses the activerecord models of my rails application. this is achieved with $LOAD_PATH << ''...../availdb/app/models'' require ''rubygems'' require_gem ''activerecord'' require ''host_downtime'' require ''host_scheduled_downtime'' And in .../app/models/host_downtime.rb: class HostDowntime < ActiveRecord::Base has_and_belongs_to_many :host_scheduled_downtimes ... And in .../app/models/host_scheduled_downtime.rb: class HostScheduledDowntime < ActiveRecord::Base has_and_belongs_to_many :host_downtimes ......