method

readonly_attribute?

rails latest stable - Class: ActiveRecord::AttributeMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

readonly_attribute?(name)
private

No documentation available.

# File activerecord/lib/active_record/attribute_methods.rb, line 412
      def readonly_attribute?(name)
        self.class.readonly_attributes.include?(name)
      end