class Rails::Generators::NamedBase
def application_name
def application_name if defined?(Rails) && Rails.application Rails.application.class.name.split('::').first.underscore else "application" end end
def application_name if defined?(Rails) && Rails.application Rails.application.class.name.split('::').first.underscore else "application" end end