method

preventing_writes?

Importance_1
v6.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
preventing_writes?() public

Determines whether writes are currently being prevents.

Returns true if the connection is a replica, or if prevent_writes is set to true.

Show source
Register or log in to add new notes.