method

reading_request?

rails latest stable - Class: ActiveRecord::Middleware::DatabaseSelector

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

reading_request?(request)
private

No documentation available.

# File activerecord/lib/active_record/middleware/database_selector.rb, line 77
        def reading_request?(request)
          request.get? || request.head?
        end