class Ransack::Context

def register(&resolver)

integration for another ORM registers its own resolver here.
Active Record integration (see Ransack::ActiveRecord::Context); an
objects it understands and nil for anything else. Ransack ships the
An ORM integration registers a block that returns a Context for the
def register(&resolver)
  Ransack::Context.resolvers << resolver
end