Fix some rubocop rails style issues

This commit is contained in:
Tom Hughes 2015-02-25 18:49:21 +00:00
parent 2d22ab10f7
commit dbe165bbb3
61 changed files with 336 additions and 348 deletions

View file

@ -17,6 +17,6 @@ class Redaction < ActiveRecord::Base
# 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))
RichText.new(self[:description_format], self[:description])
end
end