Commit Graph

74 Commits

Author SHA1 Message Date
David Heinemeier Hansson
1427a49dc9 Doc fixing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8418 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-12-16 23:27:05 +00:00
Jeremy Kemper
65a29b3433 MacOS X -> Mac OS X. Closes #10171 [henrik@nyh.se]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-16 20:29:45 +00:00
Jeremy Kemper
aa9e5a4339 Use Leopard's native mysql_config. Closes #10167 [Robert Evans]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-15 00:25:19 +00:00
Jeremy Kemper
5e772321a3 Correct MySQL install instructions for Leopard. Closes #10167 [mnaberez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-14 20:59:37 +00:00
Jeremy Kemper
40cc41931e Add MySQL install instructions for Leopard in particular. Closes #10167 [Robert Evans]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-14 18:24:52 +00:00
David Heinemeier Hansson
1b56d32893 Remind that you need a server restart for initializer defaults
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-29 21:47:38 +00:00
David Heinemeier Hansson
0d5a7d1d8c Stress that you should really install the C-based MySQL library when running on the pure Ruby one (closes #9507)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-20 23:40:48 +00:00
David Heinemeier Hansson
bd311ce922 Updated some docs to reference the latest and greatest and played style nazi a little
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-20 23:16:06 +00:00
Michael Koziarski
29b0707f07 Improve performance and functionality of the postgresql adapter. Closes #8049 [roderickvd]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-08-16 06:26:30 +00:00
Jeremy Kemper
2cda5096b8 MySQL, PostgreSQL: database.yml defaults to utf-8. Closes #8701.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-25 18:01:15 +00:00
Jeremy Kemper
e2ad603f52 Normalize whitespace. Closes #8385 [Time Pope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-27 18:44:33 +00:00
David Heinemeier Hansson
6ffa68e9eb Include sub-resources example
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-29 14:05:34 +00:00
David Heinemeier Hansson
54bc5ca8d9 Include default route for formats
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-24 22:25:41 +00:00
David Heinemeier Hansson
b445a74c5e Removed default WSDL route now that AWS is debundled from Rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-24 18:09:56 +00:00
David Heinemeier Hansson
7bf757d8b8 Include two default initializers as examples
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-23 00:53:22 +00:00
David Heinemeier Hansson
2794f4164f Dropped the idea of automatically routing :format for the vanilla routes -- 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
2006-12-04 00:12:00 +00:00
Jeremy Kemper
a303a168ac Oracle: to increase performance, prefetch 100 rows and enable similar cursor sharing. Both are configurable in database.yml. Closes #6607.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-13 07:36:52 +00:00
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