Class ActiveRecord::Base
In: app/helpers/model_security_helper.rb
Parent: Object

Methods

External Aliases

read_attribute -> old_read_attribute
  Provides access to the pre-overload version of read_attribute, which is called by the overloaded version.
write_attribute -> old_write_attribute
  Provides access to the pre-overload version of write_attribute, which is called by the overloaded version.
content_columns -> old_content_columns
  Provides access to the pre-overload version of content_columns, which is called by the overloaded version.

Public Class methods

Overload the base method to understand the let_display directive of ModelSecurity. If display? is not true for a model attribute in this context, that attribute won’t be reported as a content column.

[Validate]