In the lib directory create a file and in it use
I think that should be automatically loaded and included (not sure if
it’s completely automagic). Alternatively you can put that in you
environment.rb and it will get included.
I’m sure there are many other ways of doing this though. This may not be the best one.