Commit d575966c by Jonas Pfenniger

Fixes warning in ActiveRecord 4.0

parent 411c4419
...@@ -45,7 +45,7 @@ class ActiveRecord::Base ...@@ -45,7 +45,7 @@ class ActiveRecord::Base
alias :destroy! :destroy alias :destroy! :destroy
alias :delete! :delete alias :delete! :delete
include Paranoia include Paranoia
default_scope :conditions => { :deleted_at => nil } default_scope { where(:deleted_at => nil) }
end end
def self.paranoid? ; false ; end def self.paranoid? ; false ; end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment