Commit Graph

10539 Commits

Author SHA1 Message Date
David Heinemeier Hansson
4c3d52ad66 Updated to prototype.js 1.1.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 23:16:55 +00:00
David Heinemeier Hansson
8e76a5920e Added other DOM manipulation positions than just replace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 15:35:06 +00:00
David Heinemeier Hansson
9ca9f95aee Fixed Form.Serialize for the JavascriptHelper to also seriliaze password fields #934 [dweitzman@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 14:07:08 +00:00
David Heinemeier Hansson
eb27b7443b Copy prototype.js to public/javascripts/ not just public
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 11:34:11 +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
4043b5cdb3 Fixed the dispatch.fcgi use of a logger
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-23 00:54:05 +00:00
David Heinemeier Hansson
61d236d941 Dont include WS docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 13:36:04 +00:00
David Heinemeier Hansson
fd95719c98 Releasing 0.11.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 13:29:22 +00:00
David Heinemeier Hansson
daaa5251c9 Fixed documentation and prepared for 0.11.0 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 13:09:44 +00:00
David Heinemeier Hansson
6ad1b895f4 Updated more documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 12:41:34 +00:00
David Heinemeier Hansson
4e60fe3ef3 Added documentation and fixed an ajax bug
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 12:33:47 +00:00
David Heinemeier Hansson
e1ce18020e Last-minute ajax fixes #898
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 12:13:36 +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
7bba658200 Applied the Safari fix on both prototype.js files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 00:02:53 +00:00
David Heinemeier Hansson
c006bae4b8 Added additional error handling to the FastCGI dispatcher to catch even errors taking down the entire process
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 17:46:31 +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
5d4829065c Expanded the requires again and included the load paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 02:20:04 +00:00
David Heinemeier Hansson
30f401114e Expanded the requires again and included the load paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 02:08:58 +00:00
David Heinemeier Hansson
476f26ee90 Renamed Toggle.visibility to Toggle.display and fixed it for multiple arguments
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 01:34:37 +00:00
David Heinemeier Hansson
71dc36903a Fixed js bug
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@957 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 01:10:07 +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
eb73846f48 Fixed stuff for vendor/rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 00:16:14 +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
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
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
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
9fe45f31eb Fixed the PGPORT option used #875
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 21:50:19 +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
16287608bb More postgresql rakefile tweaking #875
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 16:55:39 +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
f22b000546 Fixed the Rakefile's interaction with postgresql use PGPASSWORD and PGHOST in the environment to fix prompting for passwords when connecting to a remote db and local socket connections. Also added a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 14:41:26 +00:00
David Heinemeier Hansson
58bf8f430e Fixed the Rakefile's interaction with postgresql to quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 14:29:59 +00:00
David Heinemeier Hansson
78a732bf3f close database.yml after reading in configuration #841 [sebastian.kanthak]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-17 19:34:18 +00:00
David Heinemeier Hansson
184419092a Prepared for 0.10.1 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-07 01:50:58 +00:00
David Heinemeier Hansson
239ec08c00 More fixes for symlinked setups #793 [phantom]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-07 01:07:06 +00:00
David Heinemeier Hansson
af081b3677 Fix database creation for postgres (again) #790 [adamm <gnuman1@gmail.com>]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:40:19 +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
10a86b21fb Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:18:27 +00:00
David Heinemeier Hansson
6e5a7340e6 stats need the include paths set by the environment #782 [adamm]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:14:47 +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
2581806abd Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:01:52 +00:00
David Heinemeier Hansson
12c775f20c Added app/apis and components to code statistics report #729 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:32:02 +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
db41d2dd5c Fixed -h/--help for generate and destroy generators #331
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 11:42:17 +00:00
David Heinemeier Hansson
5da277b182 Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-04 12:12:55 +00:00
David Heinemeier Hansson
4ba8d08481 Removed a fix that was caused by a bug in RubyGems 0.8.5
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-28 13:58:42 +00:00
David Heinemeier Hansson
6650da43c8 Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-28 09:07:03 +00:00
David Heinemeier Hansson
19dddf24a6 Slicker way of quiting on less than Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 21:16:37 +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
12e1eae87e Added early failure if the Ruby version isn't 1.8.2 or above #735
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 20:40:10 +00:00
David Heinemeier Hansson
f46515619f Fixed the missing shebang in main "rails" script #736
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 20:35:12 +00:00
David Heinemeier Hansson
b8a0903344 --i/index is obsolete #743
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 20:33:00 +00:00
David Heinemeier Hansson
ea26abeed8 Correct default for ip binding on webrick server #717
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 17:13:55 +00:00
David Heinemeier Hansson
b53f94d2bf Include Action Web Service and Active Support in the documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@797 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 13:36:25 +00:00
David Heinemeier Hansson
99fca6330d Marked for release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 13:16:41 +00:00
David Heinemeier Hansson
d9168fd206 Made ready for 0.10.0 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 13:06:17 +00:00
David Heinemeier Hansson
03b531a44e Updated a few more docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 12:40:20 +00:00
David Heinemeier Hansson
847436a478 Drop the _doc nonsense and use the index.html straight on
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 12:28:26 +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
df99b68f57 Changed default IP binding for WEBrick from 127.0.0.1 to 0.0.0.0 so that the server is accessible both locally and remotely #696 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-23 12:26:25 +00:00
David Heinemeier Hansson
e712f63872 Rake recent should clone db structure like test_units/functional
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-23 02:17:12 +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
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
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
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
b60ba807d0 Add AWS as a vendor dir
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:22:01 +00:00
David Heinemeier Hansson
d7845d2919 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@701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 23:07:57 +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
cd896fa138 Renamed action_service to action_web_service
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 00:02:21 +00:00
David Heinemeier Hansson
7a67d0f617 Renamed Action Service to Action Web Service
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 23:43:09 +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
e39bf10594 Loading the Routes should happen in the environments #655
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 23:03:48 +00:00
David Heinemeier Hansson
2af41fc036 Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 20:12:27 +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
7cac2b5e73 Changed script/console to default to development environment and drop --no-inspect (I caed) #650 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 19:36:49 +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
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
575ad6d445 Dont generate rdoc for railties
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 16:46:53 +00:00
David Heinemeier Hansson
787aa28d61 Require the Active Support gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 16:35:07 +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
David Heinemeier Hansson
098fa94356 Fixed documentation snafus #575, #576, #577, #585
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 14:15:53 +00:00
David Heinemeier Hansson
aef06f3b60 Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 14:08:38 +00:00
David Heinemeier Hansson
daee6fd92a Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 13:14:05 +00:00
David Heinemeier Hansson
ac8ebc19be Prepared for 0.9.5 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 20:10:24 +00:00
David Heinemeier Hansson
10220d356d Fixed dependency reloading by switching to a remove_const approach where all Active Records, Active Record Observers, and Action Controllers are reloading by undefining their classes. This enables you to remove methods in all three types and see the change reflected immediately and it fixes #539. This also means that only those three types of classes will benefit from the const_missing and reloading approach. If you want other classes (like some in lib/) to reload, you must use require_dependency to do it.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:45:06 +00:00
David Heinemeier Hansson
be80d460f7 Moved subclass reloading responsibilities to Dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:20:23 +00:00
David Heinemeier Hansson
ee662e9768 New approach to reloading that uses remove_const on ARs and AOs as well as ACs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:00:15 +00:00
David Heinemeier Hansson
453bc7346d Fixed that /Recipe/new and /recipe/new points to the same thing [Lyle Johnson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 16:19:29 +00:00
David Heinemeier Hansson
505e2d99da Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 13:41:57 +00:00
David Heinemeier Hansson
2257980c50 Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 13:12:40 +00:00
David Heinemeier Hansson
6d7175d6cc Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 11:59:22 +00:00
David Heinemeier Hansson
3d1e8dde9d Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter. Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 10:58:17 +00:00
David Heinemeier Hansson
f31291ab5a Another swing at reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 00:26:44 +00:00
David Heinemeier Hansson
0942bfa7a9 Brought back reloading of models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-23 19:42:40 +00:00
David Heinemeier Hansson
38ee39a4a5 Fixed that generate scaffold would produce bad functional tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-22 14:39:03 +00:00
David Heinemeier Hansson
01ead94d0b Flipped reloads around
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-20 15:35:20 +00:00
David Heinemeier Hansson
99598820cf Fixed that FCGI can also display SyntaxErrors
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-20 15:29:11 +00:00
David Heinemeier Hansson
a5364fb3ac Made ready for release of 0.9.4.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@458 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-18 14:13:12 +00:00
David Heinemeier Hansson
652f1ef02f Added 5-second timeout to WordNet alternatives on creating reserved-word models #501 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-18 09:58:48 +00:00
David Heinemeier Hansson
ecfe77f38d CHANGELOGs..
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@448 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 17:31:15 +00:00
David Heinemeier Hansson
58f920fecd Made methods class level methods again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 17:01:35 +00:00
David Heinemeier Hansson
1e3b5b1fcb Tagged the 0.9.4 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 02:30:07 +00:00
David Heinemeier Hansson
1dbb4adec1 Made a bunch of stuff quiet in the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:29:45 +00:00
David Heinemeier Hansson
e1374f7b17 Made ready for release of 0.9.4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:17:26 +00:00
David Heinemeier Hansson
ddcc400293 Made ready for release of 0.9.4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:13:15 +00:00
David Heinemeier Hansson
9577f0f57c Fixed up some docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:05:14 +00:00
David Heinemeier Hansson
954fd97d00 New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 17:56:42 +00:00
David Heinemeier Hansson
ee014ef95a New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 17:50:36 +00:00
David Heinemeier Hansson
e59f1b5249 Went back to original breakpointing as I couldnt make the patches from flgr work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 21:28:02 +00:00
David Heinemeier Hansson
c46e390920 Fixed some breakpoint issues and made breakpoint_client depend on activerecord/support instead of duplicating the files in railties #441 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 21:10:26 +00:00
David Heinemeier Hansson
fb13b7a495 Removed the Ruby 1.8.2 test/unit fix as it didnt work anyway
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 20:55:19 +00:00
David Heinemeier Hansson
2aac6d90fe Flipped code-to-test ratio around to be more readable #468 [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 18:19:51 +00:00
David Heinemeier Hansson
62f0512e54 Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 17:28:01 +00:00
David Heinemeier Hansson
6c1fe632a3 Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 13:26:48 +00:00
David Heinemeier Hansson
c755b29a86 Fixed page caching problems with saving cached file fails for the index action and that it shouldnt cache files with GET/POST parameters #462
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 13:22:58 +00:00
David Heinemeier Hansson
52251baae4 Added the option to specify a controller name to "generate scaffold" and made the default controller name the plural form of the model.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-13 15:49:26 +00:00
David Heinemeier Hansson
dbb5341691 Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from RAILS_ENV instead of just forcing development #424 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-11 00:07:35 +00:00
David Heinemeier Hansson
59c2a4d511 Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [octopod]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-10 23:47:32 +00:00
David Heinemeier Hansson
590ea2930d Added inclusion of fix for test/unit and rake problems with Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-10 00:33:03 +00:00
David Heinemeier Hansson
7145046493 Added rewrite conditions needed for page caching to work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-08 23:46:29 +00:00
David Heinemeier Hansson
70039d1e91 Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby #372
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-06 15:56:57 +00:00
David Heinemeier Hansson
f92ae75a23 Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 22:50:15 +00:00
David Heinemeier Hansson
0dd43e3868 Include package dependency information
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 12:48:09 +00:00
David Heinemeier Hansson
395a25c47d Upgrade the dependencies of the Rails gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 12:37:45 +00:00
David Heinemeier Hansson
f2e6945b25 Prepared for release of 0.9.3
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@333 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 12:35:10 +00:00
David Heinemeier Hansson
02c21bc986 Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-03 23:15:22 +00:00
David Heinemeier Hansson
b3739fca2c Nuke the controllers after the dispatcher reload to avoid the superclass mismatch problem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-02 23:42:21 +00:00
David Heinemeier Hansson
375568b7cb Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-02 18:32:56 +00:00
David Heinemeier Hansson
07989b64f4 Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-01 18:10:10 +00:00
David Heinemeier Hansson
43f5ab93e0 Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-31 16:38:24 +00:00
David Heinemeier Hansson
26b7cb7506 Updated Rakefiles for the server move
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@283 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-30 00:26:14 +00:00
David Heinemeier Hansson
3d691ab390 Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that the environment options needs to change.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@282 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-30 00:20:52 +00:00
David Heinemeier Hansson
fa1f5e062e Switch dispatcher to use the new shared Dependencies approach
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-29 21:26:20 +00:00
David Heinemeier Hansson
3755816266 Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries for functional testing.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 23:34:39 +00:00
David Heinemeier Hansson
f6d2bc30fe Added ActionMailer::Base.raise_delivery_errors = false to the test environment as we checks will be performed against deliveries array instead.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 19:12:07 +00:00
David Heinemeier Hansson
8e413262d6 WordNet not Nets
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 01:11:41 +00:00
David Heinemeier Hansson
1f94ac2c45 Touched up wording on the new recommendation stuff for generate models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 01:08:51 +00:00
David Heinemeier Hansson
4ff4afa579 Added protection for creating a model through the generators with a name of an existing class, like Thread or Date. It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 00:52:34 +00:00
David Heinemeier Hansson
d9c0a37f37 Releasing Rails 0.9.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 23:56:17 +00:00
David Heinemeier Hansson
a89e36a22a You should redirect externally on the default action
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 14:38:36 +00:00
David Heinemeier Hansson
78c6de9daf Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 13:17:35 +00:00
David Heinemeier Hansson
ebf2b12b07 Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 13:08:26 +00:00
David Heinemeier Hansson
3f3cbb51dc The dispatcher should reload the associations AFTER clearing the inheritable variables, not before, or callbacks and others wont work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 02:00:41 +00:00
David Heinemeier Hansson
8537d5eb93 Added a require_association hook on const_missing that makes it possible to use any model class without requiring it first. Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-20 13:21:01 +00:00
David Heinemeier Hansson
b586c7a97a Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-19 13:29:39 +00:00
David Heinemeier Hansson
3b56b85906 Updated the documentation #329 [rainmkr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-19 13:10:18 +00:00
David Heinemeier Hansson
d19b1810db Added support for a -h/--help parameter in the generator #331 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-19 12:55:22 +00:00
David Heinemeier Hansson
bb9975fbc7 File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-18 00:47:30 +00:00
David Heinemeier Hansson
cf78e736d2 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de 2004-12-17 18:59:12 +00:00
David Heinemeier Hansson
0f3c6b179c git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de 2004-12-17 00:45:25 +00:00
David Heinemeier Hansson
60fad97551 Upgraded to Action Pack 1.0.1 for important bug fix. Updated gem dependencies.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-17 00:42:53 +00:00
David Heinemeier Hansson
df1c6995f7 Cut down on the documentation visible
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 20:56:02 +00:00
David Heinemeier Hansson
89689ea524 Fixed a small bug in the new referencing of DEFAULT_SESSION_OPTIONS
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 20:43:31 +00:00
David Heinemeier Hansson
4e78b0627c Rails 0.9 is a reality
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 19:54:04 +00:00
David Heinemeier Hansson
2f3db152ec Made the last tweaks before 0.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 19:43:27 +00:00
David Heinemeier Hansson
b64c26ad9d Updated documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 17:58:29 +00:00
David Heinemeier Hansson
12f10f6baf Only requests that require processing from a controller should block the webrick server -- requests for stylesheets, images, and the like should be concurrent
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 16:08:10 +00:00
David Heinemeier Hansson
c4c6af3c2c Needed to update the server root for the new placement
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 15:57:06 +00:00
David Heinemeier Hansson
cc88e5a615 Renamed script/envcon to script/console
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 15:47:04 +00:00
David Heinemeier Hansson
b8f8776f0c Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 15:45:55 +00:00
David Heinemeier Hansson
4fb6ed4c1c Renamed breakpointing to breakpointer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 15:40:50 +00:00
David Heinemeier Hansson
cf718eb707 Shouldnt have removed generators from gemspec
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 13:12:10 +00:00
David Heinemeier Hansson
91b97eca86 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de 2004-12-15 16:35:36 +00:00
David Heinemeier Hansson
120649dc83 Moved generate to bin and included it again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 14:19:22 +00:00
David Heinemeier Hansson
0a97c05ba0 Removed redundent tests for success and removed the tests for missing records that were failing out the gates
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 13:20:55 +00:00
David Heinemeier Hansson
0802ca7095 Generators shouldnt be placed in a new Rails creation by default
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 13:18:40 +00:00
David Heinemeier Hansson
83c668f32e Make Railties *not* include .svn dirs in its gemspec files list #308 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 12:04:50 +00:00
David Heinemeier Hansson
4d9cda5732 Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 11:30:09 +00:00
David Heinemeier Hansson
a02a96226e Brought unit tests up to date
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 11:25:35 +00:00
David Heinemeier Hansson
647c5e0565 fixtures :models will now also attempt to include the model.rb file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-14 18:02:11 +00:00
David Heinemeier Hansson
e5a8d8ebbb This patch allows urls to be of the form :module/:controller/:action as well as :controller/:action/:id where :id is no entirely numeric by determining if what would be :module corresponds to a directory in app/controllers. If it does not then the :controller/:action/:id scheme is used.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-14 12:58:25 +00:00
David Heinemeier Hansson
317f13c2a8 Cut dependency on dev-utils by using included breakpoint lib
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-13 23:47:27 +00:00
David Heinemeier Hansson
0dfe122bb4 Slightly less overzealous testing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-13 23:47:01 +00:00
David Heinemeier Hansson
458c5485a1 Improved the quality of the breakpointing -- especially under FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-13 23:38:08 +00:00
David Heinemeier Hansson
1f9243c13e Cleaner deactivation of the breakpoint server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:49:20 +00:00
David Heinemeier Hansson
65a9011ea3 Fixed a pattern for module loading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:37:43 +00:00
David Heinemeier Hansson
8eec674148 Breakpointing that works much better with CGI and FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:29:52 +00:00
David Heinemeier Hansson
54dabd05e6 Added collusion handling for FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 18:51:26 +00:00
David Heinemeier Hansson
fdc4d1bd79 Added confirmations on successfull connections and resumations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 18:22:12 +00:00
David Heinemeier Hansson
e1ee02207c Reload the cached column information between requests when the ActionController is set to reloading dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 17:53:42 +00:00
David Heinemeier Hansson
c33126e07c Added pattern for specific actions in a modularized controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 17:23:20 +00:00
David Heinemeier Hansson
eb952e1e94 Only start the breakpoint server when included by dispatchers
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 17:22:35 +00:00
David Heinemeier Hansson
6863601335 Turn off ACL for localhost
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 16:47:37 +00:00
David Heinemeier Hansson
8e1f1ee442 Moved require_association to associations.rb and added methods for resetting the inheritable attributes on subclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 16:14:20 +00:00
David Heinemeier Hansson
b141bdbb32 Display error messages on scaffolded form pages
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 14:14:37 +00:00
David Heinemeier Hansson
204100d772 Superseeded by rails_generator.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 13:44:17 +00:00
David Heinemeier Hansson
870632dba3 Remember to include the right breakpoint for the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 12:57:08 +00:00
David Heinemeier Hansson
cfe665790e Differentiate breakpointing on gem or not in an attempt to fix looping problems
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 12:53:14 +00:00
David Heinemeier Hansson
912a567252 No longer needed to explicitly pass the session defaults as the error screen was removed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 12:52:40 +00:00
David Heinemeier Hansson
9fe6d61b84 Fix breakpointing by differenciating between gem and not
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-10 18:38:27 +00:00
David Heinemeier Hansson
5ae593f10b Mailer generator should create passing tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-10 18:38:02 +00:00
David Heinemeier Hansson
bf33b6ccae Fixed a few issues for the breakpointing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 23:04:37 +00:00
David Heinemeier Hansson
bf0e37b3cf Added preliminary remote breakpoint support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 17:20:00 +00:00
David Heinemeier Hansson
3236e15cb7 Updated the usage documentation for the generator actions for their new home
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 15:54:22 +00:00
David Heinemeier Hansson
4e1eaa289b Only nuke the AbstractApplicationController if its available
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@79 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-08 10:41:14 +00:00
David Heinemeier Hansson
7a29764657 Forgot another small change with the new generators
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@74 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 21:02:34 +00:00
David Heinemeier Hansson
5f28a62338 Forgot a small change with the new generators
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@73 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 20:57:15 +00:00
David Heinemeier Hansson
e7444da160 New error checking removes the necessity for giving a specific error page along to the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@71 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 15:35:40 +00:00
David Heinemeier Hansson
a6f718cfa0 Make the dispatch.rb behave after being run by the WEBrick dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@64 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 12:03:57 +00:00
David Heinemeier Hansson
2594581e9f Added a better generator for scaffolding that actually creates the code, so it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 11:49:38 +00:00
David Heinemeier Hansson
0ffb6c1625 Syntax errors and other exceptions thrown outside of an action are now gracefully handled by the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:25:01 +00:00
David Heinemeier Hansson
ed14042fea Cleaned it up
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@50 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:19:56 +00:00
David Heinemeier Hansson
456076a306 Added an easier way of starting a IRB session on the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@49 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:19:24 +00:00
David Heinemeier Hansson
0366e6a614 Added an easier way of starting a IRB session on the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@48 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:18:29 +00:00
David Heinemeier Hansson
d4d981d707 Added a real reference to the irc channel, and updated the name of the network to the right name in the Rails docs [imajes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@37 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 12:10:02 +00:00
David Heinemeier Hansson
9200dad7c9 script/new_controller should create directory for views even when no actions are specified [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@36 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 12:07:07 +00:00
David Heinemeier Hansson
d82f73ecab Abolished ActionController::Base.require_or_load in favor of require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 18:52:20 +00:00
David Heinemeier Hansson
5b38d85571 AbstractApplicationController and the individual controllers are now completely reloaded on each request if "reload_dependencies" is set to true. This makes it possible to REMOVE methods and constants and have the changes reflected. Beaware that this is still not possible for models, though.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@31 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 17:19:01 +00:00
David Heinemeier Hansson
7ed0894c37 Put establish_connection back in...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@14 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 22:34:24 +00:00
David Heinemeier Hansson
55f2fcff1d Fixed bad chars in public/.htaccess [imajes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@13 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 22:07:29 +00:00
David Heinemeier Hansson
14b80d0f1d Cleaned up the Rakefile
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@10 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 16:27:59 +00:00
David Heinemeier Hansson
9e41445360 Consolidated and better commented the environment files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 16:22:07 +00:00
David Heinemeier Hansson
a09824cfcc Dump development database, not test database
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 15:53:30 +00:00
David Heinemeier Hansson
db045dbbf6 Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:04:44 +00:00