1. 13 10月, 2010 4 次提交
  2. 12 10月, 2010 3 次提交
  3. 11 10月, 2010 3 次提交
  4. 10 10月, 2010 3 次提交
  5. 08 10月, 2010 1 次提交
  6. 07 10月, 2010 1 次提交
  7. 06 10月, 2010 1 次提交
  8. 05 10月, 2010 2 次提交
  9. 04 10月, 2010 11 次提交
  10. 02 10月, 2010 1 次提交
  11. 01 10月, 2010 9 次提交
  12. 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