]> git.openstreetmap.org Git - rails.git/blobdiff - lib/redactable.rb
Rename form-row to standard-form-row to avoid clashing with a bootstrap class
[rails.git] / lib / redactable.rb
index d827cfd7462aa318a11c4754434ccd311dab4a7f..6efdae0efd4b2dfeb8bf91c3969c88af54df8594 100644 (file)
@@ -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?