Skip to content

Instantly share code, notes, and snippets.

@davidrenne
Created January 6, 2013 20:41
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 davidrenne/4470085 to your computer and use it in GitHub Desktop.
Save davidrenne/4470085 to your computer and use it in GitHub Desktop.
Get the name of the application in rails
Rails.application.class.parent_name.constantize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment