aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* The new routes shortform now also works for :asDavid Heinemeier Hansson2009-12-241-1/+1
|
* Merge remote branch 'origin/master'Carlhuda2009-12-236-73/+41
|\ | | | | | | | | Conflicts: railties/lib/rails/application.rb
| * Fix Rack::Lock middleware condition: use *unless* we allow concurrencyJeremy Kemper2009-12-231-1/+1
| |
| * Shift more responsibility from application class to its singleton instance. ↵Jeremy Kemper2009-12-236-86/+55
| | | | | | | | Treat instantiation and boot as separate steps. Use app.config rather than app.configuration.
* | Require active_support/all unless specifically requested to be left out.Carlhuda2009-12-231-0/+4
| |
* | Finish moving config.frameworks-dependent code to the framework pluginCarlhuda2009-12-231-111/+1
| |
* | Moving out some framework specific initializers into the framework libraries.Carlhuda2009-12-233-73/+26
| |
* | Raise an exception if an initializer is defined without a blockCarlhuda2009-12-231-0/+1
| |
* | tests pass with requiring the frameworks in rails.rbCarlhuda2009-12-232-24/+68
|/
* MergeDavid Heinemeier Hansson2009-12-221-0/+1
|\
| * Use Rack::Runtime middleware so the reported time includes the entire ↵Joshua Peek2009-12-221-0/+1
| | | | | | | | middleware stack
* | Dont auto require rubygems, move dep on rack-test to GemfileDavid Heinemeier Hansson2009-12-221-3/+2
|/
* Merge branch 'master' of github.com:rails/railsJoshua Peek2009-12-2111-126/+127
|\ | | | | | | | | | | Conflicts: railties/test/initializer/initialize_i18n_test.rb railties/test/initializer/path_test.rb
| * Blog -> Blog::Application. Leave the toplevel module up for grabs.Jeremy Kemper2009-12-212-31/+33
| |
| * Fix the documentation for root :to. It should use a fully qualified ↵David Heinemeier Hansson2009-12-211-1/+1
| | | | | | | | controller#action syntax (Closes #3606)
| * Dont need to specify password_confirmation, that happens automaticallyDavid Heinemeier Hansson2009-12-211-1/+1
| |
| * Replace reopening the class with App.configure as an alias to class_evalCarlhuda2009-12-214-3/+7
| |
| * test.rb, dev.rb, and production.rb just reopen the Application class; no ↵Carlhuda2009-12-217-93/+88
| | | | | | | | more hax required
* | Update routes.rb template to use App nameJoshua Peek2009-12-214-5/+9
|/
* Give the builtin controllers their own routes.rb now that the legacy ↵David Heinemeier Hansson2009-12-212-0/+5
| | | | catch-all is gone
* Its cookie_verifier_secretDavid Heinemeier Hansson2009-12-211-1/+1
|
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-212-11/+7
|\
| * Turn filter_parameter_logging on by default for password and ↵David Heinemeier Hansson2009-12-201-5/+3
| | | | | | | | password_confirmation and remove contentless comments
| * Show the new short-form in an exampleDavid Heinemeier Hansson2009-12-201-1/+1
| |
| * Mark the wild controller route as legacy an comment it outDavid Heinemeier Hansson2009-12-201-5/+3
| |
* | 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-153-16/+81
|
* 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-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
|