module ActiveRecord::Core::ClassMethods

Attributes

filter_attributes[W]

Specifies columns which shouldn't be exposed while calling #inspect.

Public Instance Methods

filter_attributes() Show source
# File activerecord/lib/active_record/core.rb, line 229
def filter_attributes
  if defined?(@filter_attributes)
    @filter_attributes
  else
    superclass.filter_attributes
  end
end

Returns columns which shouldn't be exposed while calling #inspect.

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.