rajnik radadiya
rajnik radadiya

Reputation: 21

How can I get the application name of Ruby on Rails app deployed on Heroku?

How can I get the Ruby on Rails application name via code that is deployed on Heroku?

Upvotes: 0

Views: 641

Answers (1)

Dan Herman
Dan Herman

Reputation: 1505

Rails.application.class.parent_name  

should do it

Upvotes: 2

Related Questions