2   extend ActiveSupport::Concern
 
   5     scope :unredacted, -> { where(:redaction_id => nil) }
 
  12   def redact!(redaction)
 
  13     # check that this version isn't the current version
 
  14     raise OSM::APICannotRedactError if is_latest_version?
 
  17     self.redaction = redaction