Module: ActiveRecord::View::ReadOnly::ClassMethods Private
- Defined in:
- lib/activerecord/view/read_only.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #attempt_update(*args) ⇒ Object private
Instance Method Details
#attempt_update(*args) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
29 30 31 |
# File 'lib/activerecord/view/read_only.rb', line 29 def attempt_update(*args) raise ActiveRecord::ReadOnlyRecord, "This is a read-only view" end |