Reputation: 21
How can I get the Ruby on Rails application name via code that is deployed on Heroku?
Upvotes: 0
Views: 641
Reputation: 1505
Rails.application.class.parent_name
should do it
Upvotes: 2