提交 25d3e733 编写于 作者: R Ryuta Kamizono

Remove unused `cached_columns` and `time_related_columns_on_topic` in `AttributeMethodsTest`

These are no longer used since 66736c8e.
上级 a72c88e8
......@@ -1019,14 +1019,6 @@ def with_time_zone_aware_types(*types)
ActiveRecord::Base.time_zone_aware_types = old_types
end
def cached_columns
Topic.columns.map(&:name)
end
def time_related_columns_on_topic
Topic.columns.select { |c| [:time, :date, :datetime, :timestamp].include?(c.type) }
end
def privatize(method_signature)
@target.class_eval(<<-private_method, __FILE__, __LINE__ + 1)
private
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册