Short version: when should I put something into app/services instead of into lib/.
I\'ve been going down the service objects route recently, but I realised that
This is how I tend to think about code that goes in lib/
:
lib/
is the first step in that direction.Services:
IMO, services are an abstraction of your domain. Lib stuff is for convenience classes, other stuff that doesnt directly relate to your models.