ActiveRecord::ReadOnlyRecord Ruby on Rails 5.1.2 Class ActiveRecord::ReadOnlyRecord < ActiveRecord::ActiveRecordError activerecord/lib/active_record/errors.rb Raised on attempt to update record that is instantiated as read only.