Skip to content
Commits on Feb 16, 2012
  1. @drogus

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

    drogus committed Feb 1, 2012
    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.
Commits on Nov 23, 2011
  1. @drogus
Commits on Sep 30, 2010
  1. @drogus

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

    drogus committed Sep 29, 2010
    …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
Commits on Sep 10, 2010
  1. @drogus
Commits on Sep 3, 2010
  1. @drogus

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

    drogus committed Aug 4, 2010
    …Dispatch::Static in initializers
  2. @drogus
  3. @drogus
  4. @drogus
  5. @drogus

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

    drogus committed Jul 8, 2010
    …fy app method between Engine and Application
  6. @drogus
  7. @drogus
  8. @drogus
Something went wrong with that request. Please try again.