rom-rb / rom

Data mapping and persistence toolkit for Ruby
https://rom-rb.org
MIT License
2.07k stars 161 forks source link

Missing require in repository #598

Closed qortex closed 4 years ago

qortex commented 4 years ago

Describe the bug

Somewhere in my code, this fails:

require 'rom/repository'

And this fixes:

require 'rom/plugins'
require 'rom/repository'

It didn't appear in other places because I must have required rom in those places. I guess it's not intended though, and that the require 'rom/plugins should be included in the rom/repository file?

solnic commented 4 years ago

This is indeed a missing require statement