diff --git a/lib/question_journal_patch.rb b/lib/question_journal_patch.rb index 5a4d3a7..5070005 100644 --- a/lib/question_journal_patch.rb +++ b/lib/question_journal_patch.rb @@ -6,7 +6,7 @@ def self.included(base) # :nodoc: base.class_eval do unloadable # Send unloadable so it will not be unloaded in development - has_one :question + has_one :question, :dependent => :destroy end end