aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Refactored to use same option setupDavid Heinemeier Hansson2006-11-301-6/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/server running against Mongrel should tail the proper log ↵David Heinemeier Hansson2006-11-303-5/+10
| | | | | | regardless of the environment [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* merge 5639 to trunkMichael Koziarski2006-11-271-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only reload connections in development mode that supports (and requires ↵David Heinemeier Hansson2006-11-261-2/+5
| | | | | | that) -- in other words, only do it for SQLite (closes #6687, #6700) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* redirect_to is the one place where _url should be used, not _path [DHH]David Heinemeier Hansson2006-11-261-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tried delaying database disconnect until after dependency resolution ↵David Heinemeier Hansson2006-11-251-5/+3
| | | | | | (references #6687, #6700) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update initializer to load Rails::VERSION as soon as possible. Closes #6698.Nicholas Seckar2006-11-252-6/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added text/csv as a default mime type and included example on how to make ↵David Heinemeier Hansson2006-11-231-0/+4
| | | | | | your own in config/environment.rb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de