Jeremy Kemper
|
1caa76304b
|
has_one associations with a nil target may be safely marshaled. Closes #6279.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-26 06:56:17 +00:00 |
|
Jeremy Kemper
|
e5a0a27327
|
scaffold_resource naming, fixes #6276
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-25 06:51:03 +00:00 |
|
Jeremy Kemper
|
148261a9ef
|
organize associations tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-25 06:38:55 +00:00 |
|
Jeremy Kemper
|
9898a62bf7
|
use a real test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-25 05:58:38 +00:00 |
|
Kent Sibilev
|
133fe85f2b
|
Removed invocation of deprecated before_action and around_action filter methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-25 05:20:13 +00:00 |
|
Michael Koziarski
|
83d972e365
|
Duplicate the hash provided to AR::Base#to_xml to prevent unexpected side effects [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-24 01:37:45 +00:00 |
|
Nicholas Seckar
|
8d809e724a
|
Clear the cache of possible controllers whenever Routes are reloaded.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-23 17:25:06 +00:00 |
|
Jeremy Kemper
|
704443dcf2
|
workaround collections loaded as :people => { :person => [{..attrs..}, {..attrs..}] }
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 21:29:54 +00:00 |
|
Jeremy Kemper
|
a0c677c8e6
|
Filters overhaul including meantime filter support for around filters. Closes #5949.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 03:41:03 +00:00 |
|
Jeremy Kemper
|
79821e8bb4
|
use ActiveRecordTestCase
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 01:59:06 +00:00 |
|
Jeremy Kemper
|
7554518665
|
deprecation_method_warning and deprecation_horizon - fewer moving parts, easy to localize
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 01:16:09 +00:00 |
|
Jeremy Kemper
|
0b61be4666
|
use :dependent => :destroy rather than :dependent => true
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 00:11:33 +00:00 |
|
Jeremy Kemper
|
b96fbe81b8
|
Look for rake tasks in plugin subdirs. Closes #6259.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 00:03:05 +00:00 |
|
Sam Stephenson
|
236cf90bf1
|
Update RJS render tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 20:14:12 +00:00 |
|
David Heinemeier Hansson
|
d137281d25
|
Just use the vanilla mime type string, no need for fancy lookups [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 20:02:41 +00:00 |
|
Rick Olson
|
4d63e01fa0
|
fixed failing tests now that non-GET requests are sent with .xml file ext. Extracted #id_from_response as an entry point for customizing how a created resource gets its own ID.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 19:31:17 +00:00 |
|
Nicholas Seckar
|
5e5b87b412
|
Update CGI process to allow sessions to contain namespaced models. Closes #4638.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 17:46:59 +00:00 |
|
Nicholas Seckar
|
4ae3db8366
|
Fix routing to respect user provided requirements and defaults when assigning default routing options (such as :action => 'index'). Closes #5950.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 17:45:03 +00:00 |
|
David Heinemeier Hansson
|
54c393f5fa
|
Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist until Rails 2.0 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 09:34:29 +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 |
|
David Heinemeier Hansson
|
a292cd3222
|
Implemented ./script/generate scaffold_resource comment body:text created_at:datetime active:boolean price:decimal
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-19 08:47:31 +00:00 |
|
Jeremy Kemper
|
0da2357527
|
Rescue Errno::ECONNRESET to handle an unexpectedly closed socket connection. Improves SCGI reliability. Closes #3368, closes #6226.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-18 23:52:03 +00:00 |
|
Rick Olson
|
ec030534b1
|
test default content type for implicit rjs template render
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-18 16:32:41 +00:00 |
|
David Heinemeier Hansson
|
8f2221da85
|
Work-in-progress scaffolder for resources [DHH/Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-17 22:20:18 +00:00 |
|
David Heinemeier Hansson
|
caa8a00520
|
Added that respond_to blocks will automatically set the content type to be the same as is requested [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-17 18:10:25 +00:00 |
|
Michael Koziarski
|
98a412aa38
|
Add a :namespace option to AR::Base#to_xml [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-17 16:31:30 +00:00 |
|
David Heinemeier Hansson
|
2caf4d5a93
|
Added proper getters and setters for content type and charset [DHH] Added utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-17 16:20:32 +00:00 |
|
Rick Olson
|
55c6c64da0
|
Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-16 23:00:17 +00:00 |
|
Kent Sibilev
|
0460f6e0ce
|
Provide access to the underlying SOAP driver.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-16 07:26:43 +00:00 |
|
Jeremy Kemper
|
35ffc1afbe
|
Declare file extensions exempt from layouts. Closes #6219.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-16 01:31:17 +00:00 |
|
David Heinemeier Hansson
|
2271c17da1
|
Last version change, dammit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 12:45:10 +00:00 |
|
David Heinemeier Hansson
|
831ae2950f
|
Fix versions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 12:37:19 +00:00 |
|
David Heinemeier Hansson
|
5d50dee71f
|
Version updates and missing licenses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 10:13:27 +00:00 |
|
David Heinemeier Hansson
|
4ece57cf24
|
Dont run tests on gem creation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 09:56:52 +00:00 |
|
David Heinemeier Hansson
|
2b0d668efc
|
Dont run FCGIDispatcher tests if mocha is not available
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 09:34:14 +00:00 |
|
Jeremy Kemper
|
760f6ae3f4
|
Stray code.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 07:11:38 +00:00 |
|
Jeremy Kemper
|
3f1acf49bd
|
Deprecation tests. Remove warnings for dynamic finders and for the foo_count ethod if it's also an attribute.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 07:02:05 +00:00 |
|
Jeremy Kemper
|
d0c000ab9e
|
assert_deprecated returns result of block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 05:54:18 +00:00 |
|
Jeremy Kemper
|
069b0eaf0b
|
assert_deprecated matches any warning caught in block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 03:56:25 +00:00 |
|
Jeremy Kemper
|
643571ca25
|
alias_method_chain yields method target and punctuation to simplify wrapper method definition. Used by the deprecate module method.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 03:42:54 +00:00 |
|
Jeremy Kemper
|
3d3ba58dbb
|
remove implicit primary actions - more pain than gain. test collection actions for other http methods. strip whitespace.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-14 19:53:04 +00:00 |
|
Rick Olson
|
6dbac689a8
|
Add chained replace/update support for assert_select_rjs [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-14 17:50:46 +00:00 |
|
Jeremy Kemper
|
3ab1cb6a6a
|
Mock Time.now for more accurate Touch mixin tests. Closes #6213.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-14 00:50:42 +00:00 |
|
Jeremy Kemper
|
d54406271b
|
session_migration generator adds an index on updated_at. Closes #6207.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-13 23:35:55 +00:00 |
|
Jeremy Kemper
|
5589c734a8
|
Improve yaml fixtures error reporting. Closes #6205.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-13 23:31:54 +00:00 |
|
Jeremy Kemper
|
9aeddc5538
|
script/server creates the tmp/pids directory. Closes #6204.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-13 23:25:02 +00:00 |
|
David Heinemeier Hansson
|
6b70c799f8
|
All verbs should use formatted urls [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-13 04:14:18 +00:00 |
|
David Heinemeier Hansson
|
73a8d7393f
|
Make sure that formatted routes for all verbs are created. Still needs to resolve two failing tests after this refactoring [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-13 04:04:19 +00:00 |
|
Jeremy Kemper
|
89840c40ce
|
Load helpers in alphabetical order for consistency. Resolve cyclic javascript_helper dependency. Closes #6132, closes #6178.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-12 22:07:18 +00:00 |
|
Jeremy Kemper
|
7661c2b50a
|
Skip params with empty names, such as the &=Save query string from <input type=submit/>. Closes #2569.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-12 20:57:09 +00:00 |
|