hoangdangninh
5/5/2017 - 3:43 PM

From http://stackoverflow.com/questions/3539148/how-do-i-access-the-name-of-the-rails-3-application-object

Rails.application.config.session_options[:key].sub(/^_/,'').sub(/_session/,'')  // => "test-app"