ActiveRecord ReadOnlyError class ReadOnlyError Ruby on Rails 7.1.6 Since v6.0.6 Available in: v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2 Compare with: … v6.0.6 v6.1.7.10 v7.0.10 v7.2.3 v8.0.4 v8.1.2 Raised when a write to the database is attempted on a read only connection. Inherits from ActiveRecord::ActiveRecordError