Commit 864badb7 by Ryan Bigg

Merge pull request #53 from zimbatm/master

Fixes ActiveRecord 4.0 warning
parents 411c4419 d575966c
......@@ -45,7 +45,7 @@ class ActiveRecord::Base
alias :destroy! :destroy
alias :delete! :delete
include Paranoia
default_scope :conditions => { :deleted_at => nil }
default_scope { where(:deleted_at => nil) }
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