提交 6d2aadef 编写于 作者: C Carlos Antonio da Silva

Simplify helper method in attribute methods test

上级 b6a68737
......@@ -793,9 +793,7 @@ def title=(val); self.author_name = val; end
private
def cached_columns
Topic.columns.find_all { |column|
!Topic.serialized_attributes.include? column.name
}.map(&:name)
Topic.columns.map(&:name) - Topic.serialized_attributes.keys
end
def time_related_columns_on_topic
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册