I plan to create a method that would format a Time in a specific way (specialized formatting in Russian).
I would like to reuse this helper method in multiple models, controllers and possibly views. Also I would like to call this helper method on instance of Time class like follows:
t=Time.now
t.my_super_shiny_helper
Question: where should I implement this helper? (module or class, where in application directory structure?). After creating it, how should I call it?
I'm new to ruby/rails and struggle to get this working in a proper way.
Thank you.