I like app/services myself, which I think is better than app/lib simply because /lib already exists and it reinforces the difference. I think DHH is right that lib should be stuff you could in theory put into a gem. app/services can definitely be a junk drawer but 1) junk drawers are useful and 2) you can organize app/services into namespaces, especially since it’ll all be autoloaded for Rails conventions.
I like
app/servicesmyself, which I think is better thanapp/libsimply because/libalready exists and it reinforces the difference. I think DHH is right thatlibshould be stuff you could in theory put into a gem.app/servicescan definitely be a junk drawer but 1) junk drawers are useful and 2) you can organizeapp/servicesinto namespaces, especially since it’ll all be autoloaded for Rails conventions.Thank you, this was posted just in time.