aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Add verification to scaffolds (generated and reflection based). Require ↵Michael Koziarski2006-03-143-1/+11
| | | | | | POST for unsafe actions [Michael Koziarski]. Closes #2601 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't replace application.js in public/javascripts if it already exists ↵Tobias Lütke2006-03-132-3/+8
| | | | | | [Cody Fauser]. Closes #4195 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Delay rake:uncommitted's execution of `svn status`Nicholas Seckar2006-03-132-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prefer application/xml over text/xml for charset reasonsDavid Heinemeier Hansson2006-03-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use require_library_or_gem to load rake in commands/server.rb. Closes #4205.Sam Stephenson2006-03-122-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the Rake API instead of shelling out to create the tmp directory in ↵Sam Stephenson2006-03-122-2/+9
| | | | | | commands/server.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mime types are separated by a comma, not semicolon, in the Accept header. ↵David Heinemeier Hansson2006-03-121-1/+1
| | | | | | Also switch all internal configuration of mime types away from strings and over to Mime::Type [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use accept headersDavid Heinemeier Hansson2006-03-121-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to latest script.aculo.us trunk, fixes possible issue with ↵Thomas Fuchs2006-03-092-4/+8
| | | | | | Effect.Appear on IE git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the 3rd arg optional for #failsafe_responseRick Olson2006-03-081-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a backtrace to the evil WSOD (White Screen of Death). Closes #4073. ↵Rick Olson2006-03-072-2/+6
| | | | | | TODO: Clearer exceptions [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow method chaining in RJS elements [Rick Olson]David Heinemeier Hansson2006-03-061-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype for beta gemsSam Stephenson2006-03-061-48/+55
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tracking of database and framework versions in script/about #4088 ↵David Heinemeier Hansson2006-03-053-5/+28
| | | | | | [charles.gerungan@gmail.com/Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence the migration messages when importing the schema for testsJamis Buck2006-03-051-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont mkdir for each framework now that theyre checked out in their entiretyDavid Heinemeier Hansson2006-03-051-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont generate migration when doing scaffoldingDavid Heinemeier Hansson2006-03-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Migrations created alongside models should be called CreateModels not ↵David Heinemeier Hansson2006-03-051-2/+2
| | | | | | AddModels for consistency with the create/drop notion of tables [Dave Thomas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added public/javascripts/application.js as a sample since it'll ↵David Heinemeier Hansson2006-03-047-34/+10
| | | | | | automatically be included in javascript_include_tag :defaults [DHH] (backed out of -a/--with-assets, not worth it) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Words of cautionDavid Heinemeier Hansson2006-03-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -a/--with-assets option to rails generator that will include default ↵David Heinemeier Hansson2006-03-045-3/+32
| | | | | | assets for application layout, javascript, and stylesheet [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Migrations should use symbols now that the schema dumper is switching to ↵David Heinemeier Hansson2006-03-041-3/+3
| | | | | | that as well [Suggested by Robby Russel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added socket cleanup for lighttpd, both before and after [DHH] Added ↵David Heinemeier Hansson2006-03-044-3/+15
| | | | | | automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We need to silence_stderr on the call to svn in order not to get errors when ↵David Heinemeier Hansson2006-03-041-3/+15
| | | | | | svn is not available or the app is not checked in git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Effect.Appear in effects.js to work with floats in Safari (closes ↵David Heinemeier Hansson2006-03-043-20/+33
| | | | | | #3524, #3813, #3044) [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove explicit dependency mechanism setting in console_appJamis Buck2006-03-031-5/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed type (closes #3999)David Heinemeier Hansson2006-03-031-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reload! method to script/console to reload all models and others that ↵David Heinemeier Hansson2006-03-032-0/+8
| | | | | | include Reloadable without quitting the console (closes #4056) [esad@esse.at] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that rake rails:freeze:edge will now just export all the contents of ↵David Heinemeier Hansson2006-03-032-10/+4
| | | | | | the frameworks instead of just lib, so stuff like rails:update:scripts, rails:update:javascripts, and script/server on lighttpd still just works (closes #4047) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added fix for upload problems with lighttpd from Safari/IE to ↵David Heinemeier Hansson2006-03-022-0/+8
| | | | | | config/lighttpd.conf (closes #3999) [thijs@fngtps.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test:uncommitted to test changes since last checkin to Subversion ↵David Heinemeier Hansson2006-03-022-1/+14
| | | | | | (closes #4035) [technomancy@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clear stale, cached connections left behind by defunct threads. Eliminate ↵Jeremy Kemper2006-03-011-3/+2
| | | | | | duplicate connection cache. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Help script/about print the correct svn revision when in a non-English ↵Jeremy Kemper2006-03-012-6/+11
| | | | | | locale. Closes #4026. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use require instead of load with the integration stuff. Add helper method ↵Jamis Buck2006-03-011-4/+16
| | | | | | for creating new sessions. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update old alias tooDavid Heinemeier Hansson2006-03-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* When freezing to edge, we should also export railties/bin and railties/html soScott Barron2006-03-011-1/+10
| | | | | | | that rails:update:scripts and rails:update:javascripts still function. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed the "oci" adapter to "oracle", but kept the old name as an alias ↵David Heinemeier Hansson2006-03-012-2/+32
| | | | | | (closes #4017) [schoenm@earthlink.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 'app' accessor to script/console as an instance of Integration::SessionJamis Buck2006-03-013-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Match singular naming from directory structure [DHH]David Heinemeier Hansson2006-02-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Guard against app generation if the database specified isnt supported for ↵David Heinemeier Hansson2006-02-281-0/+3
| | | | | | preconfiguration [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generator::Base#usage takes an optional message argument which defaults to ↵Jeremy Kemper2006-02-282-2/+4
| | | | | | Generator::Base#usage_message. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stop annoying me when Im changing fixtures for other tests firstDavid Heinemeier Hansson2006-02-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3709 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Various problems with in-memory sqlite dbsDavid Heinemeier Hansson2006-02-282-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the extraneous AR::Base.threaded_connections setting from the webrick ↵Jeremy Kemper2006-02-282-2/+2
| | | | | | server. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add integration test support to app generation and testingJamis Buck2006-02-286-10/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make clearing follow the object:action naming of the rest of the tasksDavid Heinemeier Hansson2006-02-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make clearing follow the object:action naming of the rest of the tasksDavid Heinemeier Hansson2006-02-281-9/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make clearing follow the object:action naming of the rest of the tasksDavid Heinemeier Hansson2006-02-284-30/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Speed up class -> connection caching and stale connection verification. ↵Jeremy Kemper2006-02-271-1/+2
| | | | | | Closes #3979. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails now depend on Rake 0.7.xDavid Heinemeier Hansson2006-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de