aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* Split out the basic plugin locator functionality into an abstract super ↵Marcel Molina2007-03-028-120/+151
| | | | | | class. Add a FileSystemLocator to do the job of checking the plugin_paths for plugins. Add plugin_locators configuration option which will iterate over the set of plugin locators and load each of the plugin loaders they return. Rename locater everywhere to locator. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split plugin location and loading out of the initializer and into a new ↵Marcel Molina2007-03-029-192/+338
| | | | | | Plugin namespace, which includes Plugin::Locater and Plugin::Loader. The loader class that is used can be customized using the config.plugin_loader option. Those monkey patching the plugin loading subsystem take note, the internals changing here will likely break your modifications. The good news is that it should be substantially easier to hook into the plugin locating and loading process now. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dispatcher test requires abstract_unit. Cleanup abstract_unit.Jeremy Kemper2007-03-012-8/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* boot.rb sets RAILS_ROOT, so remove that. Install http plugins inside a ↵Rick Olson2007-02-271-6/+6
| | | | | | Dir.chdir block so that the cwd doesn't change git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* set the RAILS_ROOT for script/plugin if it's not set alreadyRick Olson2007-02-271-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assumption that all plugin creators desire to be sharing individuals ↵David Heinemeier Hansson2007-02-274-1/+33
| | | | | | and release their work under the MIT license [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added source-annotations extractor tasks to rake [Jamis Buck]David Heinemeier Hansson2007-02-252-0/+86
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Setting fixtures automatically for integration tests is a bit harder -- will ↵David Heinemeier Hansson2007-02-251-0/+3
| | | | | | have to wait until the test superclass reform is implemented git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added fixtures :all to test_helper.rb to assume that most people just want ↵David Heinemeier Hansson2007-02-252-1/+8
| | | | | | all their fixtures loaded all the time [DHH] Added fixtures :all as a way of loading all fixtures in the fixture directory at once (closes #7214) [manfred] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix app generatorRick Olson2007-02-242-3/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make it a default assumption that you want all helpers, all the time (yeah, ↵David Heinemeier Hansson2007-02-241-0/+1
| | | | | | yeah) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* No s on configDavid Heinemeier Hansson2007-02-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include two default initializers as examplesDavid Heinemeier Hansson2007-02-234-3/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config/initializers where all ruby files within it are automatically ↵David Heinemeier Hansson2007-02-235-19/+38
| | | | | | loaded after the Rails configuration is done, so you don't have to litter the environment.rb file with a ton of mixed stuff [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move session settings closer togetherDavid Heinemeier Hansson2007-02-231-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oops, don't omit the session_key since it's used as the cookie name.Jeremy Kemper2007-02-221-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Session configuration in config/environment.rb instead of ↵Jeremy Kemper2007-02-222-7/+6
| | | | | | app/controllers/application.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed commit for [6184]. Generate a random secret for new app's cookie ↵Jeremy Kemper2007-02-213-3/+8
| | | | | | session store. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Apply the rest of Chads patchDavid Heinemeier Hansson2007-02-2139-194/+194
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stop swallowing errors during rake test [Koz]Michael Koziarski2007-02-202-7/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Rails::Initializer since #view_paths is never nilRick Olson2007-02-041-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Rails Initializer to use ActionController::Base#view_paths [Rick]Rick Olson2007-02-042-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ ↵David Heinemeier Hansson2007-02-043-3/+5
| | | | | | [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Plugins may be symlinked in vendor/plugins. Closes #4245.Jeremy Kemper2007-02-014-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource generator depends on the model generator rather than duplicating ↵Jeremy Kemper2007-01-286-50/+3
| | | | | | it. Closes #7269. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add/Update usage documentation for script/destroy, resource generator and ↵Rick Olson2007-01-234-5/+60
| | | | | | scaffold_resource generator. Closes #7092, #7271, #7267. [bscofield] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk to script.aculo.us 1.7.0Thomas Fuchs2007-01-193-86/+88
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update prototype.js to [5985], fixes content-type issue with simulated HTTP ↵Thomas Fuchs2007-01-181-8/+9
| | | | | | methods git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0Sam Stephenson2007-01-172-126/+216
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generator: use destination path for diff tempfiles. Closes #7015.Jeremy Kemper2007-01-132-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that webrick would strip leading newlines and hang connection (closes ↵David Heinemeier Hansson2007-01-052-1/+3
| | | | | | #4156) [psross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to latest PrototypeSam Stephenson2007-01-051-61/+102
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure plugins are in the Dependencies.load_once_paths collection by ↵Rick Olson2006-12-272-4/+8
| | | | | | default. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Attempt at fixing the preparation_callbacks, nzkoz will double checkDavid Heinemeier Hansson2006-12-271-8/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow config.to_prepare to work, make the dispatcher safe to 're require'. ↵Michael Koziarski2006-12-263-1/+4
| | | | | | [Koz, Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix scaffold_resource generator so it respects the --pretend argument when ↵Rick Olson2006-12-262-2/+6
| | | | | | creating the routes file. Closes #6852 [fearoffish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Webrick Daemon dispatching bug regarding a bad current working ↵Rick Olson2006-12-252-1/+5
| | | | | | directory. Closes #4899 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reapply plugin load path changes from [5720]Michael Koziarski2006-12-183-10/+58
| | | | | | | | Closes #6842 Closes #6851 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [5720] Michael Koziarski2006-12-163-51/+10
| | | | | | | | Reopens #6581 Reopens #6842 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make config.plugins affect $LOAD_PATH and remove duplication from $LOAD_PATH ↵Michael Koziarski2006-12-153-10/+51
| | | | | | | | | | | [James Adam] Closes #6581 Closes #6842 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rewrap scaffold_resource USAGE so it displays nicely on most terminals. ↵Jeremy Kemper2006-12-081-20/+28
| | | | | | Closes #6801 [Paul Smith] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changelog for bungled commit.Jeremy Kemper2006-12-061-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed commit from [5686].Jeremy Kemper2006-12-062-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed script/process/spawner to work properly with Mongrel including in -r ↵David Heinemeier Hansson2006-12-042-4/+16
| | | | | | (daemonize mode) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dropped the idea of automatically routing :format for the vanilla routes -- ↵David Heinemeier Hansson2006-12-041-5/+9
| | | | | | that will be a treat for map.resources. Deprecated the name route root as it'll be used as a shortcut for map.connect '' in Rails 2.0 (Rails 1.2). Added map.root as an alias for map.connect '' (Rails 2.0) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation for generators (closes #6671) [topfunky]David Heinemeier Hansson2006-12-031-24/+73
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* WupsDavid Heinemeier Hansson2006-12-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If only life was that simple (it didnt help)David Heinemeier Hansson2006-12-011-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace the elaborate reloading connection checking scheme, just fix the ↵David Heinemeier Hansson2006-12-011-5/+2
| | | | | | Ruby-based MySQL adapter, ye? git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added one-letter aliases for the three default environments to ↵David Heinemeier Hansson2006-12-012-1/+10
| | | | | | script/console, so script/console p will load the production environment (t for test, d for development) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de