Skip to content
This repository

Feb 16, 2012

  1. Piotr Sarnacki

    Allow to set custom console type with Rails.application.config.console=

    This patch adds ability to set custom console if you want to use
    something other than IRB. Previously the hack that people used
    was:
    
        silence_warnings do
          require 'pry'
          IRB = Pry
        end
    
    which is not the best way to customize things.
    drogus authored

Nov 23, 2011

  1. Piotr Sarnacki

    Allow to change engine's loading priority with config.railties_order=

    drogus authored

Sep 30, 2010

  1. Piotr Sarnacki

    Added config.app_generators to allow configuring application's genera…

    …tors from railties.
    
    With config.generators becomes a way to configure generators
    for current instance only. For example:
    
    module Blog
      class Engine < Rails::Engine
        config.generators do |g|
          g.orm :active_record
        end
    
        config.app_generators do |g|
          g.test_framework :rspec
        end
      end
    end
    
    such definition sets :active_record as orm for engine and :rspec
    as test_framework for application. The values set with app_generators
    can be overwritten in application using config.generators as you would
    normally do:
    
    module MyApp
      class Application < Rails::Application
        config.generators do |g|
          g.test_framework :test_unit
        end
      end
    end
    drogus authored

Sep 10, 2010

  1. Piotr Sarnacki

    Set default asset_path only for engine

    drogus authored

Sep 03, 2010

  1. Piotr Sarnacki

    Get rid of static_paths method and instead configure paths for Action…

    …Dispatch::Static in initializers
    drogus authored
  2. Piotr Sarnacki

    Added ability to set asset_path for engines

    drogus authored
  3. Piotr Sarnacki

    Removed most of deprecated stuff from Application and Engine

    drogus authored
  4. Piotr Sarnacki

    Allow Engines loading its own environment file from config/environments

    drogus authored
  5. Piotr Sarnacki

    Removed ActionDispatch::Static, but left empty MiddlewareStack to uni…

    …fy app method between Engine and Application
    drogus authored
  6. Piotr Sarnacki

    Engine can now serve files with ActionDispatch::Static

    drogus authored
  7. Piotr Sarnacki

    Engine can now load its own plugins

    drogus authored
  8. Piotr Sarnacki

    Made Engine valid rack app with its own middleware stack

    drogus authored
Something went wrong with that request. Please try again.