Commit Graph

20 Commits

Author SHA1 Message Date
José Valim d649bf158b Provide a cleaner syntax for paths configuration that does not rely on method_missing. 2010-10-06 17:20:15 +02:00
Santiago Pastorino e107c208f0 Make config.generators accept string namespaces, you can do now config.generators.test_framework 'rspec' for instance
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-21 17:17:23 +02:00
Santiago Pastorino 5b42acdadd Should call configure! to initiliaze the application
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-09 10:06:34 +02:00
José Valim 6958eac1a0 Add config.generators.templates to provide alternative paths for template lookup. 2010-02-06 17:32:06 +01:00
José Valim a8c5d22c23 Add config.generators.fallbacks. 2010-02-01 10:48:59 +01:00
Carl Lerche f15bbcf97e Move the ActiveRecord generator settings into the Railtie 2010-01-28 10:45:25 -08:00
Carlhuda c7c3eac762 Test::Unit Railtie 2010-01-28 09:55:29 -08:00
José Valim 1dca7ebc93 Refactor railties test, break huge files in smaller chunks and move initializers to application folder. 2010-01-26 13:57:11 +01:00
José Valim fe3ceabeed Set up subscriber on initialization. 2010-01-13 01:19:23 +01:00
Carl Lerche e749424dfa Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb 2009-12-31 13:12:52 -08:00
Carlhuda dc677f7665 tests pass with requiring the frameworks in rails.rb 2009-12-23 15:16:38 -08:00
Carlhuda abfc4dad3e Remove global Rails initializers 2009-12-02 11:35:47 -08:00
Jeremy Kemper a3d5274e67 Configure generator when needed rather than during initialization 2009-11-03 18:58:40 -08:00
José Valim d627c932bd Pass config.generators options along when RAILS_GENERATORS is set and show --force-plural message just once.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-11-03 18:22:05 -08:00
Carl Lerche e1fdc8bba3 Remove config.gem in favor of using the bundler. This makes config/boot.rb obsolete.
The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem.
2009-10-16 18:10:52 -07:00
Joshua Peek d859402696 Use Rails.initialize! where we just want to run the initializers and aren't concerned about the config 2009-10-16 18:58:35 -05:00
Carl Lerche 2110a524a4 Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the application's object root) 2009-10-16 12:51:02 -07:00
Carl Lerche 97296b11e2 Have config/application.rb contain the application definition and require that file instead of config/boot.rb or config/environment.rb in script/*. 2009-10-15 14:54:12 -07:00
Carl Lerche ff8be66f24 Finish porting over the initializers to the app object and fix all the tests 2009-10-14 11:47:37 -07:00
Carl Lerche 992c2db76c Finish porting over the initializers to the app object and fix all the tests 2009-10-08 18:12:28 -07:00