search for: exchangeproposal

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

2008 Jul 29
0
cannot destroy child records
Hi, i am lost here, i have these models: class Shift < ActiveRecord::Base has_many :transactions,:dependent => :destroy has_one :exchangeproposal class Transaction < ActiveRecord::Base belongs_to :shift has_many :exchangeproposals class Exchangeproposal < ActiveRecord::Base belongs_to :shift belongs_to :transaction with these models i can''t destroy an exchangeproposal object e=Exchangeproposal.find(100).destroy =&g...