Commit Graph

57 Commits

Author SHA1 Message Date
David Heinemeier Hansson
943be923f0 Added timeout option to SQLite3 configurations to deal more gracefully with SQLite3::BusyException, now the connection can instead retry for x seconds to see if the db clears up before throwing that exception (closes #6126) [wreese@gmail.com] Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 02:02:27 +00:00
David Heinemeier Hansson
5ddc82c3a1 Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-20 09:33:59 +00:00
Jeremy Kemper
0d33934542 rails -d frontbase to create a new project with a frontbase database.yml. Closes #4945.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-08 01:22:48 +00:00
David Heinemeier Hansson
080e169751 Doc fix (closes #5418) [kevwil@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 02:23:21 +00:00
David Heinemeier Hansson
7a8ed3bbbf Added pid file usage to script/process/spawner and script/process/reaper along with a directive in default config/lighttpd.conf file to record the pid. They will all save their pid file in tmp/pids [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-28 00:00:50 +00:00
David Heinemeier Hansson
c66b44e76d Reformatted for better readability [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 16:58:23 +00:00
David Heinemeier Hansson
0703149e71 Fixed broken OCIAdapter (closes #4457) [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-30 03:38:15 +00:00
David Heinemeier Hansson
b583d23f95 Added gzip compression for JavaScript, CSS, and HTML to default lighttpd.conf [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-29 00:14:05 +00:00
David Heinemeier Hansson
89c0ab6b82 Added sample named route [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4001 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 06:20:18 +00:00
David Heinemeier Hansson
711ce826a7 Fixed type (closes #3999)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-03 03:21:13 +00:00
David Heinemeier Hansson
7864d0e012 Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf (closes #3999) [thijs@fngtps.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-02 02:56:26 +00:00
David Heinemeier Hansson
631181ca18 Renamed the "oci" adapter to "oracle", but kept the old name as an alias (closes #4017) [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:01:53 +00:00
David Heinemeier Hansson
9ad6e1a628 Various problems with in-memory sqlite dbs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 19:43:34 +00:00
David Heinemeier Hansson
1aea4704dc Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the 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
2006-02-25 20:26:14 +00:00
David Heinemeier Hansson
290983be31 Added -d/--database option to the rails command, so you can do "rails --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
2006-02-25 18:41:13 +00:00
David Heinemeier Hansson
63a95167e8 Also use CWD on document_root (closes #3883) [grant@antiflux.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-19 04:05:27 +00:00
David Heinemeier Hansson
b230004897 Changed default lighttpd.conf to use CWD from lighttpd 1.4.10 that allows 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
2006-02-12 17:41:53 +00:00
Jeremy Kemper
ae76e22731 Windows: eliminate the socket option in database.yml. Closes #2924.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-18 07:30:05 +00:00
David Heinemeier Hansson
5334d89e77 Fix socket in the end
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 19:23:30 +00:00
David Heinemeier Hansson
e3abe441e9 Fix socket in the end
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 19:10:51 +00:00
David Heinemeier Hansson
63e30a5cae Less spacing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:07:05 +00:00
Jamis Buck
b49de6b74b Copy lighttpd.conf when it is first needed, instead of on app creation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 17:45:53 +00:00
David Heinemeier Hansson
ba86b8497f Only use a socket if there
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 12:15:04 +00:00
David Heinemeier Hansson
6461318f9e Dont have password: optional in there
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 12:14:33 +00:00
David Heinemeier Hansson
b69d8f1ac6 Dont have password: optional in there
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 12:02:18 +00:00
David Heinemeier Hansson
749b027ef0 Last conversion from dbfile to database
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 08:32:04 +00:00
David Heinemeier Hansson
c21fdf31a5 Changed :dbfile to :database for SQLite adapter for consistency (old key still works as an alias) (closes #2644) [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 08:10:04 +00:00
Jeremy Kemper
ea44527afd Comment database.yml and include PostgreSQL and SQLite examples.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 04:00:18 +00:00
Sam Stephenson
5ba5eb8246 Trim down the default mimetypes in config/lighttpd.conf.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 21:44:52 +00:00
David Heinemeier Hansson
fd1d6d0eb3 Move down to 1 proc by default and a bit more help
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:09:52 +00:00
David Heinemeier Hansson
9ad0f08985 Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/lighttpd (works like script/server, but using lighttpd and FastCGI) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 17:54:07 +00:00
Michael Koziarski
9601f96a70 attempt to fix #2500
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-17 23:19:48 +00:00
Nicholas Seckar
98c1735f03 Fix rake dev and related commands
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 17:10:34 +00:00
Jeremy Kemper
6273753a42 Try to figure out which mysql socket to use. Default to /path/to/your/mysql.sock
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 13:47:34 +00:00
Florian Weber
a1f14d1a85 Made the rails command use the application name for database names in the tailored database.yml file.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 09:51:04 +00:00
David Heinemeier Hansson
a41619681f Include suggestion for using different socket #1951 [NVRS]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-20 10:04:12 +00:00
Jamis Buck
bb7f60ca1c Remove switchtower integration from rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-30 20:47:09 +00:00
Jamis Buck
3d4a323776 Add integration with SwitchTower (rake tasks, default deploy.rb recipe)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-03 15:02:31 +00:00
David Heinemeier Hansson
b66b1fff12 Reminder for dangers with Alias and mod_rewrite #1752 [dave@cherryville.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-17 09:22:19 +00:00
David Heinemeier Hansson
3170295136 Added warning about setting the test database to the same as production or development #1619 [court3nay]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 04:20:08 +00:00
David Heinemeier Hansson
9aaea3ba73 More documentation for .htaccess #1137
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-18 18:57:56 +00:00
David Heinemeier Hansson
11a5492791 Removed SCRIPT_NAME from the WEBrick environment to prevent conflicts with PATH_INFO #896 [Nicholas Seckar] Removed ? from the dispatch.f/cgi redirect line to get rid of 'complete/path/from/request.html' => nil being in the @params now that the ENV[REQUEST_URI] is used to determine the path #895 [dblack/Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 12:11:43 +00:00
David Heinemeier Hansson
2c918ed9b5 Added note about routing the site root
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@950 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 23:39:07 +00:00
David Heinemeier Hansson
a61360688c Changed .htaccess to allow dispatch.* to be called from a sub-directory as part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 22:02:22 +00:00
David Heinemeier Hansson
48a44b77c1 Fixed caching for root and Routing for getting back the current url
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-21 01:01:24 +00:00
David Heinemeier Hansson
8c40759b10 Allow downloading of WSDL for an AWS controller as a proper file #674
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 10:55:08 +00:00
David Heinemeier Hansson
d4aead0d50 Made apache start out on cgi and added back the default apache options
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 23:34:21 +00:00
David Heinemeier Hansson
b072965930 Updated the Rails generator command to work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 13:09:18 +00:00
David Heinemeier Hansson
b1999be5a7 A hopefully more successful attempt at the Routing branch merge
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:45:35 +00:00
David Heinemeier Hansson
88a3343ed5 Backed out of routing merge.. investigating missing patches
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:24:55 +00:00