Exception: ActiveRecord::PreparedStatementCacheExpired

Inherits:
StatementInvalid show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/errors.rb

Overview

Raised when PostgreSQL returns ‘cached plan must not change result type’ and we cannot retry gracefully (e.g. inside a transaction)

Instance Attribute Summary

Attributes inherited from StatementInvalid

#binds, #sql

Method Summary

Methods inherited from StatementInvalid

#initialize

Constructor Details

This class inherits a constructor from ActiveRecord::StatementInvalid