search for: user_from_id

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

Did you mean: user_from_uid
2008 Jul 29
0
cannot destroy child records
...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 => #<Transaction id: 7, shift_id: 14591, group_id: 47, user_from_id: nil, user_to_id: nil, date: nil, soort: 2, status: 2, created_at: "2008-07-29 17:17:36", updated_At: nil> instead i get back a transaction?? now if i remove the belong_to :shift in the model, how can this be explained? thanks -- Posted via http://www.ruby-forum.com/. --~--~------...