Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 2 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Merge branch 'master' of github.com:rails/rails | Joshua Peek | 2009-12-02 | 5 | -65/+42 |
|\ | |||||
| * | Fix an ivar name conflict in Rails::Server | Carlhuda | 2009-12-02 | 1 | -5/+5 |
| | | |||||
| * | Stop evalling the environment file in favor of require + setting a ↵ | Carlhuda | 2009-12-02 | 1 | -18/+17 |
| | | | | | | | | Kernel#config. This will fix the bug where reopening classes caused them to be overwritten. | ||||
| * | Add support for bare ActiveSupport via config.active_support.bare | Carlhuda | 2009-12-02 | 2 | -15/+6 |
| | | |||||
| * | Remove global Rails initializers | Carlhuda | 2009-12-02 | 4 | -29/+16 |
| | | |||||
* | | Move controller namespace tracking into route set so it gets | Joshua Peek | 2009-12-02 | 1 | -1/+1 |
|/ | | | | reloaded in dev mode | ||||
* | Update vendored thor and ensure that content is completely modified before ↵ | José Valim | 2009-12-01 | 33 | -36/+38 |
| | | | | | | checking file collisions. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Avoid using unrequired core extensions | Jeremy Kemper | 2009-12-01 | 1 | -1/+1 |
| | |||||
* | rails:update:configs updates boot.rb and the rest of config/* | Jeremy Kemper | 2009-12-01 | 1 | -0/+1 |
| | |||||
* | Reinstate rails:update:configs task removed in e1fdc8b | Jeremy Kemper | 2009-12-01 | 1 | -0/+5 |
| | |||||
* | Fix rails:update:scripts | Jeremy Kemper | 2009-12-01 | 1 | -1/+1 |
| | |||||
* | Expand path relative to __FILE__ | Jeremy Kemper | 2009-11-28 | 1 | -1/+1 |
| | |||||
* | Fix the application.rb generator | Carl Lerche | 2009-11-25 | 1 | -1/+1 |
| | |||||
* | Load application specific rake tasks in the application object | Carl Lerche | 2009-11-25 | 2 | -5/+2 |
| | |||||
* | Have script/* and Rakefile use the application object | Carlhuda | 2009-11-24 | 14 | -30/+57 |
| | |||||
* | Refactor script/dbconsole into an object | Carlhuda | 2009-11-24 | 2 | -80/+90 |
| | |||||
* | Use Rails.env after loading environment | Jeremy Kemper | 2009-11-24 | 1 | -2/+2 |
| | |||||
* | Quieter rake test runner | Joshua Peek | 2009-11-24 | 2 | -10/+0 |
| | |||||
* | Add a dead --irb option mentioning upgrade path | Jeremy Kemper | 2009-11-23 | 1 | -0/+1 |
| | |||||
* | Set RAILS_ENV before loading config/environment | Jeremy Kemper | 2009-11-23 | 1 | -10/+7 |
| | |||||
* | Refactor script/console into an object and use IRB.start instead of calling ↵ | Carlhuda | 2009-11-23 | 2 | -39/+49 |
| | | | | exec. | ||||
* | Refactor script/server into an object that inherits from Rack::Server | Carlhuda | 2009-11-23 | 2 | -59/+62 |
| | |||||
* | Update rails application root detection to take into consideration a ↵ | Carlhuda | 2009-11-23 | 1 | -1/+1 |
| | | | | callstack that includes the rack library | ||||
* | RAILS_ENV falls back to RACK_ENV | Jeremy Kemper | 2009-11-23 | 1 | -2/+2 |
| | |||||
* | Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs ↵ | David Heinemeier Hansson | 2009-11-23 | 1 | -0/+2 |
| | | | | [DHH] | ||||
* | Ensure generator fallbacks work even when a context is given. | José Valim | 2009-11-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Also load generators at lib/rails_generators. | José Valim | 2009-11-23 | 1 | -22/+10 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Fix Rails::Rack::Static deprecated constant proxy | Jeremy Kemper | 2009-11-21 | 1 | -1/+1 |
| | |||||
* | Revert "Final steps toward clean rails "foo"; cd foo; gem bundle; ↵ | Jeremy Kemper | 2009-11-19 | 8 | -13/+13 |
| | | | | | | | | script/server working" Broke stuff. This reverts commit 520b8b59110dd130c89b317b6bd65d8644c7836f. | ||||
* | Final steps toward clean rails "foo"; cd foo; gem bundle; script/server working | Yehuda Katz + Carl Lerche | 2009-11-18 | 8 | -13/+13 |
| | |||||
* | Make script/server work with correct application.rb | Yehuda Katz | 2009-11-16 | 2 | -1/+6 |
| | |||||
* | Require action_dispatch, not action_controller | Yehuda Katz | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | Refactor plugins | Yehuda Katz + Carl Lerche | 2009-11-11 | 9 | -545/+82 |
| | |||||
* | Fix generated performance test helper requires | Jeremy Kemper | 2009-11-10 | 2 | -2/+2 |
| | |||||
* | Contortions to work around brittle naming dependency | Jeremy Kemper | 2009-11-09 | 1 | -27/+25 |
| | |||||
* | Refactor generators a little bit. | José Valim | 2009-11-08 | 13 | -16/+10 |
| | | | | Signed-off-by: Yehuda Katz <wycats@mobile-166-129-219-135.mycingular.net> | ||||
* | Update Rails Generators to use Thor 0.12.0. | José Valim | 2009-11-08 | 32 | -8/+23 |
| | | | | Signed-off-by: Yehuda Katz <wycats@mobile-166-129-219-135.mycingular.net> | ||||
* | Fix generators tests that expect a class name | Jeremy Kemper | 2009-11-05 | 1 | -7/+10 |
| | |||||
* | Update Ruby version check to 1.8.7 | Yehuda Katz | 2009-11-05 | 1 | -9/+2 |
| | |||||
* | Add the ability to merge initializers from various objects in order. | Yehuda Katz + Carl Lerche | 2009-11-05 | 1 | -4/+38 |
| | |||||
* | Conceptually unify instance & global initializers | Yehuda Katz + Carl Lerche | 2009-11-05 | 3 | -123/+132 |
| | |||||
* | Configure generator when needed rather than during initialization | Jeremy Kemper | 2009-11-03 | 4 | -14/+10 |
| | |||||
* | Pass config.generators options along when RAILS_GENERATORS is set and show ↵ | José Valim | 2009-11-03 | 9 | -13/+26 |
| | | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Improve Gemfile commentary | Jeremy Kemper | 2009-11-03 | 1 | -9/+6 |
| | |||||
* | Remove --freeze (since Rails will come bundled in all new apps) and update ↵ | José Valim | 2009-11-03 | 3 | -20/+51 |
| | | | | | | gem action to change Gemfile instead of config.environment. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure ActiveRecord is loaded on revoke/destroy. | José Valim | 2009-11-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Avoid duplicated names on help description and show proper error message if ↵ | José Valim | 2009-11-03 | 1 | -14/+36 |
| | | | | | | trying to load a Rails 2.x generator. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure that generators can be invoked from any directory. | José Valim | 2009-11-02 | 1 | -0/+17 |
| | | | | Signed-off-by: Engine Yard <engineyard@Engine-Yards-MacBook-Pro.local> | ||||
* | Clarify date/time dependencies | Jeremy Kemper | 2009-11-02 | 1 | -0/+1 |
| |