]> git.openstreetmap.org Git - rails.git/blob - app/models/redaction.rb
Added relation redaction logic, same as node and way logic, plus tests
[rails.git] / app / models / redaction.rb
1 ##
2 # Redaction represents a record associated with a particular
3 # action on the database to hide revisions from the history
4 # which are not appropriate to redistribute any more. 
5 #
6 # The circumstances of the redaction can be recorded in the
7 # record's title and description fields, which can be 
8 # displayed linked from the redacted records.
9 #
10 class Redaction < ActiveRecord::Base
11   has_many :nodes
12   has_many :ways
13   has_many :relations
14 end