Displaying 1 result from an estimated 1 matches for "medicationdose".
Did you mean:
medication_dose
2006 May 17
10
HABTM << producing incorrect insert sql ?
...erhaps I''m adding to the collection
incorrectly?
If this looks like a but, is their a long winded way to express
this functionality?
Thanx for any advice.
cheers,
Jodi
-------
Rails 1.1.2
ruby 1.8.4 (2005-12-24) [i686-darwin8.6.1]
activerecord (1.14.2)
mysql 4.1.18
class MedicationDose < ActiveRecord::Base
has_and_belongs_to_many :medication_frequencies, :join_table
=> ''medication_dose_frequencies''
end
class MedicationDoseFrequency < ActiveRecord::Base
belongs_to :medication_dose
belongs_to :medication_frequency
end
class MedicationFreq...