aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Load, not dump, schema to testDavid Heinemeier Hansson2006-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include functionals in default test runDavid Heinemeier Hansson2006-02-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added namespaces to all tasks, so for example load_fixtures is now ↵David Heinemeier Hansson2006-02-279-320/+413
| | | | | | db:fixtures:load. All the old task names are still valid, they just point to the new namespaced names. "rake -T" will only show the namespaced ones, though [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CHANGED DEFAULT: ActiveRecord::Base.schema_format is now :ruby by default ↵David Heinemeier Hansson2006-02-272-3/+6
| | | | | | instead of :sql. This means that we'll assume you want to live in the world of db/schema.rb where the grass is green and the girls are pretty. If your schema contains un-dumpable elements, such as constraints or database-specific column types, you just got an invitation to either 1) patch the dumper to include foreign key support, 2) stop being db specific, or 3) just change the default in config/environment.rb to config.active_record.schema_format = :sql -- we even include an example for that on new Rails skeletons now. Brought to you by the federation of opinionated framework builders! [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -r/--repeat option to script/process/spawner that offers the same loop ↵David Heinemeier Hansson2006-02-265-8/+26
| | | | | | protection as the spinner did. This deprecates the script/process/spinner, so it's no longer included in the default Rails skeleton, but still available for backwards compatibility (closes #3461) [ror@andreas-s.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove ::Controllers related cruft; fix AP testsNicholas Seckar2006-02-264-27/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update duplicated OrderedOptions code.Nicholas Seckar2006-02-261-12/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added collision option to template generation in generators (closes #3329) ↵David Heinemeier Hansson2006-02-262-2/+9
| | | | | | [anna@wota.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more information to script/plugin's doings to ease debugging #3755 ↵David Heinemeier Hansson2006-02-262-18/+7
| | | | | | [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rake appdoc fails with unrecognized option (closes #3757) [Jakob S]David Heinemeier Hansson2006-02-252-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the ↵David Heinemeier Hansson2006-02-258-10/+35
| | | | | | Rails skeleton [DHH] Changed the default session configuration to place sessions in tmp/sessions, if that directory is available, instead of /tmp (this essentially means a goodbye to 9/10 White Screen of Death errors and should have web hosting firms around the world cheering) [DHH] Added a default configuration of the FileStore for fragment caching if tmp/cache is available, which makes action/fragment caching ready to use out of the box with no additional configuration [DHH] Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that script/generate model will now automatically create a migration ↵David Heinemeier Hansson2006-02-254-1/+32
| | | | | | file for the model created. This can be turned off by calling the generator with --skip-migration [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepare order for uncommenting, use consistent opt options [DHH]David Heinemeier Hansson2006-02-252-9/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -d/--database option to the rails command, so you can do "rails ↵David Heinemeier Hansson2006-02-257-116/+143
| | | | | | --database=sqlite2 myapp" to start a new application preconfigured to use SQLite2 as the database. Removed the configuration examples from SQLite and PostgreSQL from the default MySQL configuration [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow script/server -c /path/to/lighttpd.confJeremy Kemper2006-02-232-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove hardcoded path to reaper script in script/server.Jeremy Kemper2006-02-222-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us to V1.5.3 [Thomas Fuchs]Thomas Fuchs2006-02-224-31/+87
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added SIGTRAP signal handler to RailsFCGIHandler that'll force the process ↵David Heinemeier Hansson2006-02-192-4/+24
| | | | | | into a breakpoint after the next request. This breakpoint can then be caught with script/breakpointer and give you access to the Ruby image inside that process. Useful for debugging memory leaks among other things [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also use CWD on document_root (closes #3883) [grant@antiflux.org]David Heinemeier Hansson2006-02-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated RDocTask to receive options 1 by 1 (closes #3875) [pterjan@mandriva.com]David Heinemeier Hansson2006-02-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us in Rails trunk to V1.5.2Thomas Fuchs2006-02-143-14/+97
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed default lighttpd.conf to use CWD from lighttpd 1.4.10 that allows ↵David Heinemeier Hansson2006-02-123-11/+15
| | | | | | the same configuration to be used for both detach and not. Also ensured that auto-repeaping of FCGIs only happens when lighttpd is not detached. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add JavaScriptGenerator#replace_element for replacing an element's "outer ↵Sam Stephenson2006-02-121-24/+23
| | | | | | HTML". Closes #3246. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Configuration#after_initialize for specifying a block to be executed ↵Michael Koziarski2006-02-072-2/+25
| | | | | | after the framework is completely initialized. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update versions to match latest from stableDavid Heinemeier Hansson2006-02-052-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove LoadingModuleNicholas Seckar2006-02-032-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add LoadingModule.clear! back temporarilyNicholas Seckar2006-02-021-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pluralization bites againNicholas Seckar2006-02-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Further improvements to reloading codeNicholas Seckar2006-02-021-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added check for RAILS_FRAMEWORK_ROOT constant that allows the Rails ↵David Heinemeier Hansson2006-01-302-8/+17
| | | | | | framework to be found in a different place than vendor/rails. Should be set in boot.rb. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-291-2/+1
| | | | | | module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that static requests could unlock the mutex guarding dynamic requests ↵David Heinemeier Hansson2006-01-211-0/+2
| | | | | | in the WEBrick servlet (closes #3433) [tom@craz8.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de