To use Preload scopes add a file named <Your.Schema>
where Your.Schema should
be the module of the schema you're trying to preload on.
Next to that add a file with the module <Your.Schema>.Scopes
in this module you can add scope_on_preload/4
functions.