提交 6c50c07d 编写于 作者: A Aaron Patterson

fixing the list of cached columns

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