I am working on a Rails 5 application, and have a number of methods that apply across multiple models.
I was thinking about putting them in:
lib/model_extension.rb
and then, in every model that uses these methods, I would add:
include ModelExtension
Would you recommend doing it differently, for Rails 5.1?