Methods

Attributes

[W] filter_attributes

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

Instance Public methods

filter_attributes()

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

📝 Source code
# File activerecord/lib/active_record/core.rb, line 239
      def filter_attributes
        if defined?(@filter_attributes)
          @filter_attributes
        else
          superclass.filter_attributes
        end
      end
🔎 See on GitHub