method
prevent_writes
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionHandler
prevent_writes()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb, line 1017
def prevent_writes # :nodoc:
Thread.current[:prevent_writes]
end