fix chaining of hidden_attributes/method_attributes

This commit is contained in:
Albert Yi
2016-10-27 14:53:25 -07:00
parent 8d0781c27f
commit 60eebd9608
4 changed files with 5 additions and 5 deletions

View File

@@ -104,7 +104,7 @@ class ForumPost < ActiveRecord::Base
end
def hidden_attributes
[:text_index]
super + [:text_index]
end
end