aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize autoloads:Carlhuda2009-12-022-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/railsJoshua Peek2009-12-024-64/+22
|\
| * Fix an ivar name conflict in Rails::ServerCarlhuda2009-12-021-5/+5
| |
| * Stop evalling the environment file in favor of require + setting a ↵Carlhuda2009-12-021-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.bareCarlhuda2009-12-021-15/+2
| |
| * Remove global Rails initializersCarlhuda2009-12-023-28/+0
| |
* | Move controller namespace tracking into route set so it getsJoshua Peek2009-12-021-1/+1
|/ | | | reloaded in dev mode
* Update vendored thor and ensure that content is completely modified before ↵José Valim2009-12-0133-36/+38
| | | | | | checking file collisions. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Avoid using unrequired core extensionsJeremy Kemper2009-12-011-1/+1
|
* rails:update:configs updates boot.rb and the rest of config/*Jeremy Kemper2009-12-011-0/+1
|
* Reinstate rails:update:configs task removed in e1fdc8bJeremy Kemper2009-12-011-0/+5
|
* Fix rails:update:scriptsJeremy Kemper2009-12-011-1/+1
|
* Expand path relative to __FILE__Jeremy Kemper2009-11-281-1/+1
|
* Fix the application.rb generatorCarl Lerche2009-11-251-1/+1
|
* Load application specific rake tasks in the application objectCarl Lerche2009-11-252-5/+2
|
* Have script/* and Rakefile use the application objectCarlhuda2009-11-2414-30/+57
|
* Refactor script/dbconsole into an objectCarlhuda2009-11-242-80/+90
|
* Use Rails.env after loading environmentJeremy Kemper2009-11-241-2/+2
|
* Quieter rake test runnerJoshua Peek2009-11-242-10/+0
|
* Add a dead --irb option mentioning upgrade pathJeremy Kemper2009-11-231-0/+1
|
* Set RAILS_ENV before loading config/environmentJeremy Kemper2009-11-231-10/+7
|
* Refactor script/console into an object and use IRB.start instead of calling ↵Carlhuda2009-11-232-39/+49
| | | | exec.
* Refactor script/server into an object that inherits from Rack::ServerCarlhuda2009-11-232-59/+62
|
* Update rails application root detection to take into consideration a ↵Carlhuda2009-11-231-1/+1
| | | | callstack that includes the rack library
* RAILS_ENV falls back to RACK_ENVJeremy Kemper2009-11-231-2/+2
|
* Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs ↵David Heinemeier Hansson2009-11-231-0/+2
| | | | [DHH]
* Ensure generator fallbacks work even when a context is given.José Valim2009-11-231-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Also load generators at lib/rails_generators.José Valim2009-11-231-22/+10
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Fix Rails::Rack::Static deprecated constant proxyJeremy Kemper2009-11-211-1/+1
|
* Revert "Final steps toward clean rails "foo"; cd foo; gem bundle; ↵Jeremy Kemper2009-11-198-13/+13
| | | | | | | | script/server working" Broke stuff. This reverts commit 520b8b59110dd130c89b317b6bd65d8644c7836f.
* Final steps toward clean rails "foo"; cd foo; gem bundle; script/server workingYehuda Katz + Carl Lerche2009-11-188-13/+13
|
* Make script/server work with correct application.rbYehuda Katz2009-11-162-1/+6
|
* Require action_dispatch, not action_controllerYehuda Katz2009-11-161-1/+1
|
* Refactor pluginsYehuda Katz + Carl Lerche2009-11-118-545/+70
|
* Fix generated performance test helper requiresJeremy Kemper2009-11-102-2/+2
|
* Contortions to work around brittle naming dependencyJeremy Kemper2009-11-091-27/+25
|
* Refactor generators a little bit.José Valim2009-11-0813-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é Valim2009-11-0832-8/+23
| | | | Signed-off-by: Yehuda Katz <wycats@mobile-166-129-219-135.mycingular.net>
* Fix generators tests that expect a class nameJeremy Kemper2009-11-051-7/+10
|
* Update Ruby version check to 1.8.7Yehuda Katz2009-11-051-9/+2
|
* Add the ability to merge initializers from various objects in order.Yehuda Katz + Carl Lerche2009-11-051-4/+38
|
* Conceptually unify instance & global initializersYehuda Katz + Carl Lerche2009-11-053-123/+132
|
* Configure generator when needed rather than during initializationJeremy Kemper2009-11-034-14/+10
|
* Pass config.generators options along when RAILS_GENERATORS is set and show ↵José Valim2009-11-039-13/+26
| | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Improve Gemfile commentaryJeremy Kemper2009-11-031-9/+6
|
* Remove --freeze (since Rails will come bundled in all new apps) and update ↵José Valim2009-11-033-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é Valim2009-11-031-0/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Avoid duplicated names on help description and show proper error message if ↵José Valim2009-11-031-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é Valim2009-11-021-0/+17
| | | | Signed-off-by: Engine Yard <engineyard@Engine-Yards-MacBook-Pro.local>
* Clarify date/time dependenciesJeremy Kemper2009-11-021-0/+1
|