1. 26 4月, 2012 1 次提交
  2. 04 4月, 2012 2 次提交
  3. 14 3月, 2012 1 次提交
  4. 01 3月, 2012 2 次提交
  5. 21 1月, 2012 2 次提交
  6. 06 1月, 2012 1 次提交
  7. 29 12月, 2011 1 次提交
  8. 16 12月, 2011 1 次提交
  9. 13 12月, 2011 2 次提交
  10. 02 12月, 2011 1 次提交
  11. 25 5月, 2011 1 次提交
  12. 04 5月, 2011 2 次提交
  13. 24 4月, 2011 1 次提交
  14. 04 2月, 2011 1 次提交
  15. 20 12月, 2010 3 次提交
  16. 20 11月, 2010 4 次提交
  17. 03 11月, 2010 1 次提交
  18. 30 9月, 2010 1 次提交
    • P
      Added config.app_generators to allow configuring application's generators from railties. · f8513523
      Piotr Sarnacki 提交于
      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
      f8513523
  19. 21 8月, 2010 1 次提交
  20. 18 7月, 2010 1 次提交
  21. 13 7月, 2010 1 次提交
  22. 24 6月, 2010 1 次提交
  23. 19 6月, 2010 1 次提交
  24. 17 6月, 2010 1 次提交
  25. 15 5月, 2010 1 次提交
    • W
      Reorganized initializers a bit to enable better hooks for common cases without... · 9cfeefb6
      wycats 提交于
      Reorganized initializers a bit to enable better hooks for common cases without the need for Railtie. Specifically, the following hooks were added:
      
      * before_configuration: this hook is run immediately after the Application class 
        comes into existence, but before the user has added any configuration. This is
        the appropriate place to set configuration for your plugin
      * before_initialize: This is run after all of the user's configuration has completed,
        but before any initializers have begun (in other words, it runs right after
        config/environments/{development,production,test}.rb)
      * after_initialize: This is run after all of the initializers have run. It is an
        appropriate place for forking in a preforking setup
      
      Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
      9cfeefb6
  26. 29 4月, 2010 1 次提交
  27. 21 4月, 2010 1 次提交
  28. 16 4月, 2010 1 次提交
  29. 30 3月, 2010 1 次提交
  30. 27 3月, 2010 1 次提交