class method self.raise_on_assign_to_attr_readonly=

Ruby on Rails edge

Since edge

Signature

self.raise_on_assign_to_attr_readonly=(value)

No documentation comment.

Parameters

value req
Source
# File activerecord/lib/active_record.rb, line 397
  def self.raise_on_assign_to_attr_readonly=(value)
    deprecator.warn(<<~MSG)
     `config.active_record.raise_on_assign_to_attr_readonly` is deprecated and will be removed in Rails 9.0.
    MSG
    @_raise_on_assign_to_attr_readonly = value
  end

Defined in activerecord/lib/active_record.rb line 397 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close