replaced deprecated ":dependent => true" statements
git-svn-id: http://redmine.rubyforge.org/svn/trunk@123 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user