high
lit
Sign in
Explain your code
Code Explainers
Code explainers tagged
#database-roles
ruby
class
ReportingQuery
def
initialize
(
scope
=
ApplicationRecord
)
@scope
=
scope
end
Routing heavy reports to a read replica in Rails
read-replica
database-roles
query-object
Intermediate
6 steps