David Heinemeier Hansson
dad9c4b2ee
Fixed that model generator would make fixtures plural, even if ActiveRecord::Base.pluralize_table_names was false #1185 [Marcel Molina]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 18:29:52 +00:00
David Heinemeier Hansson
b94e8af9a4
Update for JavaScript helper tests #1584 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 18:20:13 +00:00
David Heinemeier Hansson
668a0817f7
Auto completer should hide update element by when initializing #1579 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 18:18:55 +00:00
David Heinemeier Hansson
177ed3e681
Added more tests on assert_redirected_to #1581 [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 18:16:38 +00:00
David Heinemeier Hansson
eb2b86d795
Added ActionController::Base.enable_upload_progress for people who want to play with the experimental upload progress
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 11:29:41 +00:00
David Heinemeier Hansson
50f0a73624
Added JavascriptHelper#draggable_element and JavascriptHelper#drop_receiving_element to facilitate easy dragging and dropping through the script.aculo.us libraries #1578 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 11:25:21 +00:00
David Heinemeier Hansson
c2060719d3
Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 11:21:25 +00:00
David Heinemeier Hansson
20d27f6b74
Fixed validates_numericality_of to work with overrided getter-method when :allow_nil is on #1316 [raidel@onemail.at]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1603 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 07:52:29 +00:00
David Heinemeier Hansson
9ac02777e7
Clarified intentions of validates_associated #870
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1602 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 06:59:08 +00:00
David Heinemeier Hansson
a53372c273
Added that UrlHelper#mail_to will now also encode the default link title #749 [f.svehla@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 06:46:41 +00:00
David Heinemeier Hansson
3553b59d3c
Removed the default option of wrap=virtual on FormHelper#text_area to ensure XHTML compatibility #1300 [thomas@columbus.rr.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1600 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 06:39:43 +00:00
David Heinemeier Hansson
12ff2f76da
Rake task to update spin off libraries #1514 [Tobias Luetke]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1599 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 06:23:35 +00:00
David Heinemeier Hansson
bf9b90a908
Adds the ability to include XML CDATA tags using Builder #1563 [Josh Knowles]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1598 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 06:21:13 +00:00
David Heinemeier Hansson
2f61c431fa
Added evaluation of <SCRIPT> blocks in content returned to Ajax calls #1577 [Thomas Fuchs/court3nay]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 06:20:05 +00:00
Jeremy Kemper
6d64bbcc56
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 04:52:24 +00:00
Jeremy Kemper
5650bc9094
r1588@asus: jeremy | 2005-07-02 03:14:45 -0700
...
Optional periodic garbage collection for dispatch.fcgi. Graceful exit on TERM also (a la Apache1). Ignore signals the platform does not support, such as USR1 on Windows.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 04:52:14 +00:00
Jeremy Kemper
b829493220
r1587@asus: jeremy | 2005-07-01 20:36:08 -0700
...
Merge skaes railties.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 04:52:03 +00:00
Jamis Buck
5c981528f2
Better multipart support with implicit multipart/alternative and sorting of subparts [John Long]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-01 20:43:40 +00:00
David Heinemeier Hansson
ebd7bf7945
Added roots, root, and siblings to the batch of methods added by acts_as_tree #1541 [michael@schuerig.de]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-01 18:33:38 +00:00
David Heinemeier Hansson
f0e9fd74ae
Make render(:inline) use locals #1556 [Michael Shuerig]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-01 18:21:29 +00:00
David Heinemeier Hansson
f2a29ca43c
Added support for ODBC connections to MS SQL Server so you can connect from a non-Windows machine #1569 [Mark Imbriaco/DeLynn Berry] Added support for limit/offset with the MS SQL Server driver so that pagination will now work #1569 [DeLynn Berry]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-01 17:20:04 +00:00
David Heinemeier Hansson
64612db7cf
Added new rules to the Inflector to deal with more unusual plurals mouse/louse => mice/lice, information => information, ox => oxen #1571 [foamdino@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-01 16:57:58 +00:00
Jamis Buck
5ddffc8c24
Allow for nested parts in multipart mails #1570 [Flurin Egger]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-01 13:17:44 +00:00
David Heinemeier Hansson
5651a69130
Load models and frequency typo on upoad progress #1555 [Sean Treadway]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-01 08:31:30 +00:00
David Heinemeier Hansson
cadcd9e714
Fix IE 30-sec timeout bug, make auto_complete_for even more delicious #1572 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-01 07:25:44 +00:00
Jamis Buck
24a8cb1e56
Normalize line endings in outgoing mail bodies to "\n" #1536 [John Long]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-30 21:40:43 +00:00
Jamis Buck
813a8b9d2a
Allow template to be explicitly specified #1448 [tuxie@dekadance.se]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-30 21:21:54 +00:00
David Heinemeier Hansson
2455f96a6e
Fixed mr recycle!
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-30 16:16:12 +00:00
David Heinemeier Hansson
524d1b5e04
Uncommented request.recycle! as it breaks more than it fixes, left test case in, xal?
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-30 14:49:36 +00:00
David Heinemeier Hansson
4cd5b05377
Dont include the upload progress automatically before it works better
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-30 08:29:14 +00:00
David Heinemeier Hansson
bab674c681
File upload progress seems to have problems on a variety of servers, marking as experimental for now and not including it in the docs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-30 08:16:57 +00:00
David Heinemeier Hansson
7e1d002673
Fixed memory leak with Object#remove_subclasses_of, which inflicted a Rails application running in development mode with a ~20KB leak per request #1289 [c.r.mcgrath@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-30 06:11:26 +00:00
David Heinemeier Hansson
a90598b458
Wrong variable name used in observe_field #1551
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-30 05:58:40 +00:00
David Heinemeier Hansson
8a145b251a
Give auto_complete_for parameters, fix browser-autocompletion #1550
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 17:08:14 +00:00
Jamis Buck
3cc47a4297
Use SIGHUP to dynamically reload an fcgi process without restarting it. Refactored dispatch.fcgi so that the RailsFCGIHandler is in the lib dir.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 11:07:20 +00:00
David Heinemeier Hansson
8335fc610c
A bit more routes refactoring and test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 10:40:26 +00:00
David Heinemeier Hansson
94cae0d0a2
Got back to functional testing harmony
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 09:44:55 +00:00
David Heinemeier Hansson
571abe8d5e
Rolled back changed to test_process as it broke havok this morning
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 09:05:46 +00:00
David Heinemeier Hansson
2d8679993c
Fix JavaScriptHelper capitalization and make it compatible with Prototype #1545 [Sam Stephenson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 08:09:00 +00:00
David Heinemeier Hansson
0ffcceffac
Script.aculo.us: autocompletion focus fix, setContentZoom fix #1546 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 08:07:55 +00:00
Sam Stephenson
a551ba2c01
Sync Prototype; closes #1539
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 05:20:51 +00:00
Jeremy Kemper
31e48939b1
r1475@iwill: jeremy | 2005-06-28 23:19:51 -0700
...
Ticket 1543 - Fix test_process
r1476@iwill: jeremy | 2005-06-29 00:20:53 -0700
Correct expected, actual order for assert_equal. Use new render method in TestController.
r1477@iwill: jeremy | 2005-06-29 00:23:45 -0700
Generate route and assign parameters without modifying the user's params.
r1480@iwill: jeremy | 2005-06-29 00:28:52 -0700
Update changelog.
r1481@iwill: jeremy | 2005-06-29 00:34:02 -0700
Directly generate paths with a leading slash instead of tacking it on later.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 02:41:00 +00:00
Jamis Buck
453ed15395
Routes fail with leading slash #1540 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-28 21:18:04 +00:00
David Heinemeier Hansson
5136c2a16b
Badly applied patch fix
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-28 17:54:19 +00:00
David Heinemeier Hansson
beffb77e05
Added support for upload progress indicators in Apache and lighttpd 1.4.x (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-28 17:44:16 +00:00
David Heinemeier Hansson
62ed6950c9
Added support for upload progress indicators in Apache and lighttpd 1.4.x (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-28 17:42:51 +00:00
David Heinemeier Hansson
96e590ca3c
This patch modifies RouteSet#write_generation and RouteSet#write_recognition so that they return the source code used to recognize or generate URLs. #1531 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-28 17:17:39 +00:00
David Heinemeier Hansson
c92ecb82b8
Fixed that multiparameter posts ignored attr_protected #1532 [alec+rails@veryclever.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-28 17:15:01 +00:00
David Heinemeier Hansson
d763f08ba8
Fix the Event.findElement prototype function. Needed to get autocomplete working with Safari #1528 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-28 09:47:56 +00:00
David Heinemeier Hansson
938a8fea27
Added support for graceful error handling of Ajax calls #1217 [Jamis Buck/Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-27 17:40:00 +00:00