Commit Graph

103 Commits

Author SHA1 Message Date
David Heinemeier Hansson
e9681eb9c5 Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-18 14:15:26 +00:00
David Heinemeier Hansson
624d5bb176 Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Added script/profiler to easily profile a single statement from within the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-14 08:23:50 +00:00
David Heinemeier Hansson
9a97cb25eb Added lazy typing for generate, such that ./script/generate cn == ./script/generate controller and the likes #1051 [k@v2studio.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-10 17:36:57 +00:00
David Heinemeier Hansson
1752583531 generate --quiet documentation #715
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-07 06:37:02 +00:00
David Heinemeier Hansson
3532455404 Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-02 09:11:17 +00:00
David Heinemeier Hansson
5f5f19b06d _at is better for Time.now than _on
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-23 14:16:46 +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
7d09215506 Dont repeat error messages in scaffolds
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 12:08:17 +00:00
David Heinemeier Hansson
d06239e177 Choose a simpler requiring of picking gems or not for library loading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 11:42:45 +00:00
David Heinemeier Hansson
ecc0e28896 Add prototype.js to new apps in javascripts/ #885
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 01:04:57 +00:00
David Heinemeier Hansson
40d6be6498 Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 23:51:25 +00:00
David Heinemeier Hansson
778a9ec84f Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 23:47:35 +00:00
David Heinemeier Hansson
20e3cfe52d Combined the script/environment.rb used for gems and regular files version. If vendor/rails/* has all the frameworks, then files version is used, otherwise gems #878 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 22:41:35 +00:00
David Heinemeier Hansson
2afb8a8cc0 Added script/runner which can be used to run code inside the environment by eval'ing the first parameter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 17:36:23 +00:00
David Heinemeier Hansson
694aafaa9d Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 16:44:48 +00:00
David Heinemeier Hansson
693e0df352 Fixed rake stats to ignore editor backup files like model.rb~ #791 [skanthak]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:39:12 +00:00
David Heinemeier Hansson
dbb6403923 Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:37:49 +00:00
David Heinemeier Hansson
10be1c59f8 Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:22:56 +00:00
David Heinemeier Hansson
7ba3903db6 Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:37:08 +00:00
David Heinemeier Hansson
9eb04967a4 Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:02:27 +00:00
David Heinemeier Hansson
5718eb190c Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:24:21 +00:00
David Heinemeier Hansson
6d566e82b4 Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]. Moved all active support dependencies into active support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:20:53 +00:00
David Heinemeier Hansson
38ea84aab6 Fixed test/mocks/testing to the correct test/mocks/test #740
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 20:43:08 +00:00
David Heinemeier Hansson
614e14d815 Drop the _doc nonsense and use the index.html straight on
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 12:26:30 +00:00
David Heinemeier Hansson
f3cf76d32d Fix the error message on generate mailer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-22 16:09:27 +00:00
David Heinemeier Hansson
148f6d8fb6 Made Action Mailer templates use UTF-8 as default
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-22 13:34:57 +00:00
David Heinemeier Hansson
824558816a Added lighttpd config example and changed apache.log to less discriminating server.log
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 23:51:06 +00:00
David Heinemeier Hansson
ab3a813364 Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 23:04:42 +00:00
David Heinemeier Hansson
67a6668693 Set Railsy defaults for breakpoint client
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 22:34:03 +00:00
David Heinemeier Hansson
1402bb7a25 Upgraded to breakpoint 92
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 22:28:11 +00:00
David Heinemeier Hansson
d8739bd8cb Help against errors in ApplicationController
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 17:20:10 +00:00
David Heinemeier Hansson
e4f07888ce Made caching work for WEBrick and lighttpd by appending .html for all URLs not already containing a dot
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 17:18:59 +00:00
David Heinemeier Hansson
69d0f50206 Added support for independent components residing in /components
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 13:58:03 +00:00
David Heinemeier Hansson
beb2875094 Updated dependency loading to consider non-standard class/file name combinations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 13:47:57 +00:00
David Heinemeier Hansson
5fa66cd45c Allows a loading module to load from multiple load paths #675
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 11:06:14 +00:00
David Heinemeier Hansson
b008b6f194 Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 21:57:43 +00:00
David Heinemeier Hansson
83efffbcf6 Fix module support for controller generators #668 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 16:41:39 +00:00
David Heinemeier Hansson
11ffeaf0bb Fixed functional test path problems #662
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 16:53:25 +00:00
David Heinemeier Hansson
bc8e41247b Integrated Action Service with the existing elements
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 10:58:25 +00:00
David Heinemeier Hansson
2713960dfc Check class path for conflicts on generation #640 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 19:40:58 +00:00
David Heinemeier Hansson
55b6e884c5 Forget to addd this
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 23:03:44 +00:00
David Heinemeier Hansson
b04618e707 Fixed generated functional test for nested controllers has wrong paths #635
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 19:35:13 +00:00
David Heinemeier Hansson
dcfd6aa3bd Move Controllers wrapper module away from environment.rb and into dependencies.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 16:21:56 +00:00
David Heinemeier Hansson
ca175ed7c9 All libraries should link against the independent active support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 16:15:02 +00:00
David Heinemeier Hansson
dc3d6eb9b4 Moved Active Support into its own gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 15:57:44 +00:00
David Heinemeier Hansson
5e0223ae21 No leading return
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 13:41:28 +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
David Heinemeier Hansson
c844755e5a Merged back the Routing branch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 00:51:02 +00:00