Displaying 1 result from an estimated 1 matches for "hostscheduleddowntime".
Did you mean:
host_scheduled_downtime
2006 Aug 11
0
habtm in a standalone ruby script broken?
...39;'
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
...
this works fine, until i introduce a table_prefix with
ActiveRecord::Base.table_name_prefix = "devel_"
>From the database log i see that each tablename is correctly prefixed
with _devel, execept the join_table
h...