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