how to put helpers in a module

lib/my_module.rb:

module MyModule

def self.my_helper

    'Hello'

end

end

Then require 'my_module' in the places you want to use the helpers or
put in in the environment.rb to make it application wide.