I need to know the name of a programmers application from within a Rails 3 engine.
I need to know the name of a programmers application from within a Rails 3 engine.
For Rails 6 and beyond
Rails.application.class.module_parent.name
More context:
Module#parent has been renamed to module_parent. parent is deprecated and will be removed in Rails 6.1.