| Class | ActiveRecord::Base |
| In: |
app/helpers/model_security_helper.rb
|
| Parent: | Object |
| 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. | ||
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.