Some functionality within my rails application looks better as if it was a separate "module", that should be accessed via require
. For example, assume it's a function to calculate Fibonacci numbers.
The functionality is independent on rails application and can be reused in other projects, so it should not be stored near application controllers and models, I suppose. But since I'm not going to detach it into separate project, thus placing it to vendor
folder seems like not the right thing.
Where should I place it then?