Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 364 Bytes
require 'rom/plugins/relation/sql/instrumentation'
require 'rom/plugins/relation/sql/auto_restrictions'
require 'rom/sql/plugin/associates'
require 'rom/sql/plugin/pagination'
ROM.plugins do
adapter :sql do
register :pagination, ROM::SQL::Plugin::Pagination, type: :relation
register :associates, ROM::SQL::Plugin::Associates, type: :command
end
end
You can’t perform that action at this time.