edge badge
Skip to Content Skip to Search
Methods
F

Instance Public methods

filter_attributes()

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

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

filter_attributes=(filter_attributes)

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

# File activerecord/lib/active_record/core.rb, line 388
def filter_attributes=(filter_attributes)
  @inspection_filter = nil
  @filter_attributes = filter_attributes
end