Displaying 1 result from an estimated 1 matches for "veleba".
Did you mean:
velea
2006 Jan 06
6
HABTM problem not saving all associations
...ave the
second association class at the beginning.
Any ideas what I''m doing wrong?
I''m using Ruby 1.8.2, Rails 1.0 and MySQL 5.0.16 on both Ubuntu Breezy
and Mac OS X Tiger 10.4.3. Ruby and MySQL were built from source on
both as well.
Thanks for your time and attention.
Keith Veleba
---CUT HERE---
class Order < ActiveRecord::Base
belongs_to :account
has_and_belongs_to_many :loan_types
has_and_belongs_to_many :products
has_many :order_notes
has_one :structure_type
has_one :order_state
end
class Product < ActiveRecord::Base
has_and_belongs_to_many :orders...