method

call

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ShardSelector
call(env) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/middleware/shard_selector.rb, line 40
      def call(env)
        request = ActionDispatch::Request.new(env)

        shard = selected_shard(request)

        set_shard(shard) do
          @app.call(env)
        end
      end
Register or log in to add new notes.