модуль ActiveRecord::Core::ClassMethods
Публичные методы экземпляров
# File activerecord/lib/active_record/core.rb, line 325
def filter_attributes
if @filter_attributes.nil?
superclass.filter_attributes
else
@filter_attributes
end
end Возвращает столбцы, которые не должны быть показаны при вызове #inspect.
# File activerecord/lib/active_record/core.rb, line 334 def filter_attributes=(filter_attributes) @inspection_filter = nil @filter_attributes = filter_attributes end
Указывает столбцы, которые не должны быть показаны при вызове #inspect.
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.