Skip to content

Instantly share code, notes, and snippets.

@jeffomatic
Created October 7, 2012 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffomatic/3849644 to your computer and use it in GitHub Desktop.
Save jeffomatic/3849644 to your computer and use it in GitHub Desktop.
blog: accessing Rails helpers outside views, declaring globally-accessible Helpers module
# Put this into extra/my_proj/helpers.rb
module MyProj
module Helpers
extend ActionView::Helpers
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment