Displaying 1 result from an estimated 1 matches for "jobswarn".
Did you mean:
jobstart
2006 Dec 29
4
Strange HABTM behavior against SQL Server (AR 1.14.4)
All,
Win XP
SQL Server 2000
Rails 1.1.6 (AR 1.14.4)
I have two objects (Job and Warning) in a HABTM relationship. Below are
the pertinent sections of the model files and the schema for the join
table.
job.rb:
class Job < ActiveRecord::Base
has_and_belongs_to_many :warnings, :foreign_key =>
''JobReferenceNumber''
set_table_name :JobData
set_primary_key