aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Sessions with an sDavid Heinemeier Hansson2005-09-121-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added create_session_table, drop_session_table, and purge_session_table as ↵David Heinemeier Hansson2005-09-122-3/+39
| | | | | | rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore. Added configuration of session options through config.session_options in Rails::Configuration git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added dump of schema version to the db_structure_dump task for databases ↵David Heinemeier Hansson2005-09-121-0/+4
| | | | | | that support migrations #1835 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]David Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved config/tasks to lib/tasks and added more documentation to environment.rbDavid Heinemeier Hansson2005-09-112-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed missing dsDavid Heinemeier Hansson2005-09-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#silence_warnings and puts it into use throughout the frameworkDavid Heinemeier Hansson2005-09-111-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -m/--mime-types option to the WEBrick server, so you can specify a ↵David Heinemeier Hansson2005-09-091-3/+7
| | | | | | Apache-style mime.types file to load #2059 [ask@develooper.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -c/--svn option to the generator that'll add new files and remove ↵David Heinemeier Hansson2005-09-092-3/+40
| | | | | | destroyed files using svn add/revert/remove as appropriate #2064 [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -c/--charset option to WEBrick controller, so you can specify a ↵David Heinemeier Hansson2005-09-091-0/+10
| | | | | | default charset (which without changes is UTF-8) #2084 [wejn@box.cz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont encode the default subject for the test cases since they are within the ↵David Heinemeier Hansson2005-09-061-1/+1
| | | | | | ascii range git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the default stats task extendable by modifying the STATS_DIRECTORIES ↵Jamis Buck2005-09-051-9/+11
| | | | | | constant git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have ↵Jamis Buck2005-09-051-1/+4
| | | | | | Rails::Initializer use it if it exists. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence logger initializationDavid Heinemeier Hansson2005-09-031-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix mocks dirDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the spot looking for migrationsDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the spot looking for migrationsDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Talk about whats missingDavid Heinemeier Hansson2005-09-031-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also configure template view pathDavid Heinemeier Hansson2005-09-031-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is ↵David Heinemeier Hansson2005-09-038-0/+371
| | | | | | empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the scaffold generator to fail right away if the database isn't ↵David Heinemeier Hansson2005-09-031-24/+24
| | | | | | accessible instead of in mid-air #1169 [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Corrected project-local generator location in scripts.rb #2010 [Michael ↵Jamis Buck2005-09-021-1/+1
| | | | | | Schuerig] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix documentation for mailer generatorDavid Heinemeier Hansson2005-09-021-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the default rakefile read *.rake files from config/tasks (for easy ↵Jamis Buck2005-08-311-0/+1
| | | | | | extension of the rakefile by e.g. generators) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is ↵Nicholas Seckar2005-08-311-3/+10
| | | | | | defined. Closes #1957 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove switchtower integration from railsJamis Buck2005-08-301-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace render_partial with render :partial in scaffold generatorNicholas Seckar2005-08-172-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add integration with SwitchTower (rake tasks, default deploy.rb recipe)Jamis Buck2005-08-031-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added convenience controls for FCGI processes (especially when managed ↵David Heinemeier Hansson2005-07-241-3/+3
| | | | | | remotely): spinner, spawner, and reaper. They reside in script/process. More details can be had by calling them with -h/--help git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an empty robots.txt to public/, so that web servers asking for it ↵David Heinemeier Hansson2005-07-221-0/+1
| | | | | | won't trigger a dynamic call, like favicon.ico #1738 [michael@schubert] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dropped the 'immediate close-down' of FCGI processes since it didn't work ↵David Heinemeier Hansson2005-07-191-12/+2
| | | | | | consistently and produced bad responses when it didn't. So now a TERM ensures exit after the next request (just as if the process is handling a request when it receives the signal). This means that you'll have to 'nudge' all FCGI processes with a request in order to ensure that they have all reloaded. This can be done by something like ./script/process/repear --nudge 'http://www.myapp.com' --instances 10, which will load the myapp site 10 times (and thus hit all of the 10 FCGI processes once, enough to shut down). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Regret inclusion for nowDavid Heinemeier Hansson2005-07-161-62/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support for upcoming script/spawnerDavid Heinemeier Hansson2005-07-161-0/+62
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show correct paths to generated templates for nexted controllers. Fixes #730Nicholas Seckar2005-07-143-9/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3023@asus: jeremy | 2005-07-12 23:43:39 -0700Jeremy Kemper2005-07-131-3/+3
| | | | | | | | | | | | | | | | | Remove superfluous inherited override in Dependencies. r3024@asus: jeremy | 2005-07-12 23:54:28 -0700 Make test the default railties rake target. r3025@asus: jeremy | 2005-07-12 23:55:27 -0700 Encapsulate dispatch call in dispatcher test. r3026@asus: jeremy | 2005-07-12 23:56:14 -0700 Expand dispatcher mock to match full method signature for process. r3027@asus: jeremy | 2005-07-12 23:57:24 -0700 Look for app-specific generators in RAILS_ROOT/generators instead of RAILS_ROOT/script/generators. r3028@asus: jeremy | 2005-07-13 00:00:47 -0700 Update changelog. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that each request with the WEBrick adapter would open a new database ↵David Heinemeier Hansson2005-07-101-0/+2
| | | | | | connection #1685 [Sam Stephenson]. Added ActiveRecord::Base.threaded_connections flag to turn off 1-connection per thread (required for thread safety). By default it's on, but WEBrick in Rails need it off #1685 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pulled the gateway.cgi until we can make it work properly out the gatesDavid Heinemeier Hansson2005-07-061-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a USAGE document to the migration generatorDavid Heinemeier Hansson2005-07-061-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an EXPERIMENTAL gateway.cgi for getting high-speed performance through ↵David Heinemeier Hansson2005-07-042-4/+6
| | | | | | vanilla CGI using a long-running, DRb-backed server in the background (using script/listener and script/tracker) #1603 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that model generator would make fixtures plural, even if ↵David Heinemeier Hansson2005-07-021-1/+1
| | | | | | ActiveRecord::Base.pluralize_table_names was false #1185 [Marcel Molina] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r1588@asus: jeremy | 2005-07-02 03:14:45 -0700Jeremy Kemper2005-07-021-13/+66
| | | | | | | Optional periodic garbage collection for dispatch.fcgi. Graceful exit on TERM also (a la Apache1). Ignore signals the platform does not support, such as USR1 on Windows. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use SIGHUP to dynamically reload an fcgi process without restarting it. ↵Jamis Buck2005-06-292-9/+122
| | | | | | Refactored dispatch.fcgi so that the RailsFCGIHandler is in the lib dir. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-281-0/+21
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include the new Javascripts in new appsDavid Heinemeier Hansson2005-06-261-10/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed ActionMailer generated tests to work properly after quoted refactoring ↵David Heinemeier Hansson2005-06-251-1/+3
| | | | | | #1481 [patrick@lenz.sh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionMailer::Base subclasses are reloaded with other rails components #1262Jamis Buck2005-06-241-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController::Base.allow_concurrency to control whether the ↵David Heinemeier Hansson2005-06-231-2/+2
| | | | | | application is thread-safe, so multi-threaded servers like WEBrick knows whether to apply a mutex around the performance of each action. Action Pack and Active Record are by default thread-safe, but many applications may not be. Turned off by default. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed new WEBrick handling to actually pass parametersDavid Heinemeier Hansson2005-06-221-14/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the mutex from the WEBrick adapter under the production environment ↵David Heinemeier Hansson2005-06-222-34/+68
| | | | | | so concurrent requests can be served git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a migration generatorDavid Heinemeier Hansson2005-06-222-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1477 5ecf4fe2-1ee6-0310-87b1-e25e094e27de