aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added cookies.permanent, cookies.signed, and cookies.permanent.signed ↵David Heinemeier Hansson2009-12-201-0/+7
| | | | accessor for common cookie actions [DHH]
* Models with no attributes should just have empty hash fixtures [Sam] (Closes ↵David Heinemeier Hansson2009-12-171-5/+9
| | | | #3563)
* Added alert/notice from 2-3-stable and refactored redirect_to into just ↵David Heinemeier Hansson2009-12-172-5/+3
| | | | living in Redirector [DHH]
* Need to lazy realize middleware options so they can be modified inJoshua Peek2009-12-161-3/+3
| | | | the environment
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-2/+3
| | | | adding any to the load path more than once.
* Add the ability for plugins to set default configuration settings.Carl Lerche2009-12-154-18/+84
|
* Procs don't call themselvesJoshua Peek2009-12-151-1/+1
| | | | Fixes dev mode reloading [#3574 state:resolved]
* Move route reloading into railtiesJoshua Peek2009-12-143-7/+48
|
* Fix warnings in railties configuration and initializeableJoshua Peek2009-12-142-11/+15
|
* Don't require AD test_caseJoshua Peek2009-12-122-2/+0
|
* Fixed old routing mapper example in generated routes.rbJoshua Peek2009-12-092-2/+2
|
* Scaffolding generates new routing dsl examplesJoshua Peek2009-12-093-22/+39
|
* 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-025-65/+42
|\
| * 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-022-15/+6
| |
| * Remove global Rails initializersCarlhuda2009-12-024-29/+16
| |
* | 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-119-545/+82
|
* 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>