From b4d4b80dcd5327d66a4d9c910fb9022c9dd93c4f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 26 Dec 2006 17:11:44 +0000 Subject: replaced deprecated ":dependent => true" statements git-svn-id: http://redmine.rubyforge.org/svn/trunk@123 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/journal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/journal.rb') diff --git a/app/models/journal.rb b/app/models/journal.rb index 9d173552f..18a6ec083 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -18,5 +18,5 @@ class Journal < ActiveRecord::Base belongs_to :journalized, :polymorphic => true belongs_to :user - has_many :details, :class_name => "JournalDetail", :dependent => true + has_many :details, :class_name => "JournalDetail", :dependent => :delete_all end -- cgit v1.2.3