title: Rails engine extends config/application.rb
body: <p>I am in the process of writing a <code>Rails engine</code> but i am not sure how to extend my the config/application.rb</p>
  
  <p>I guess i have to get to the application name somehow
  any ideas?</p>
  
  <pre><code>require File.expand_path('../boot', __FILE__)
  
  require 'rails/all'
  
  # Require the gems listed in Gemfile, including any gems
  # you've limited to :test, :development, or :production.
  Bundler.require(:default, Rails.env)
  
  module application_name
    class Application &lt; Rails::Application
    end
  end
  </code></pre>