Is there a convention in Rails to put Sweeper
classes in a particular directory location?
UPDATE: Since observers are put into app/models
, I'm assuming sweepers are no different, as long as the name always ends with "sweeper".
I like to put them in the app/sweepers directory.
I also put Presenters
in the app/presenters directory...and Observers
in the app/observers directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With