method
current_preventing_writes
rails latest stable - Class:
ActiveRecord::ConnectionAdapters::ConnectionHandler::ConnectionDescriptor
current_preventing_writes()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/abstract/connection_handler.rb, line 71
def current_preventing_writes
ActiveRecord::Base.preventing_writes?(@name)
end