X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..ff7ddb6b86bf918a9418af7382836b41594d45e4:/lib/redactable.rb diff --git a/lib/redactable.rb b/lib/redactable.rb index d827cfd74..6efdae0ef 100644 --- a/lib/redactable.rb +++ b/lib/redactable.rb @@ -4,7 +4,7 @@ module Redactable def self.included(base) # this is used to extend activerecord bases, as these aren't # in scope for the module itself. - base.scope :unredacted, -> { base.where(:redaction_id => nil) } + base.scope :unredacted, -> { where(:redaction_id => nil) } end def redacted?