aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
|
* 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>