]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/redaction.rb
Remove some (hopefully) redundant code
[rails.git] / app / models / redaction.rb
index ca0ea7232f02755a1e7ecee454c4a49c9ed2a683..a9bdf5580dc68712d1ffef58c4f4743ca9d5db6d 100644 (file)
@@ -14,6 +14,8 @@ class Redaction < ActiveRecord::Base
   has_many :old_ways
   has_many :old_relations
 
+  # this method overrides the AR default to provide the rich 
+  # text object for the description field.
   def description
     RichText.new(read_attribute(:description_format), read_attribute(:description))
   end