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
|
65f834ad45
|
Stringify the parameters on follow_redirect
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-12 21:54:34 +00:00 |
|
David Heinemeier Hansson
|
61a6a440cb
|
Added follow_redirect method for functional tests that'll get-request the redirect that was made.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-12 19:35:30 +00:00 |
|
David Heinemeier Hansson
|
e505a45173
|
Fixed whitespace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-11 13:04:10 +00:00 |
|
David Heinemeier Hansson
|
66b504b1f7
|
Fixed double requiring of models with the same name as the controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-11 13:03:34 +00:00 |
|
David Heinemeier Hansson
|
02d0558738
|
Make the store less verbose when saving the session data
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 19:12:11 +00:00 |
|
David Heinemeier Hansson
|
b8e4c78abb
|
Fixed that query params could be forced to nil on a POST due to the raw post fix #562 [moriq@moriq.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:23:19 +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
|
c89c2bcbfb
|
Fixed that cookies shouldn't be frozen in TestRequest #571 [Eric Hodel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 13:44:48 +00:00 |
|
David Heinemeier Hansson
|
838c5a3d82
|
Minor refactoring to prettify
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-06 18:29:11 +00:00 |
|
David Heinemeier Hansson
|
c328f64e37
|
Catch ArgumentError not NameError
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@514 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 20:05:17 +00:00 |
|
David Heinemeier Hansson
|
11611c1b00
|
Raise LoadErrors separately
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 18:35:16 +00:00 |
|
David Heinemeier Hansson
|
20b14e0d38
|
Comply to the new dependency reload system
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 18:05:22 +00:00 |
|
David Heinemeier Hansson
|
136962322b
|
Fixed the ordering of attributes in the xml-decleration of Builder #540 [woeye]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 12:47:11 +00:00 |
|
David Heinemeier Hansson
|
2f11b7cfee
|
Added @request.raw_post as a convenience access to @request.env['RAW_POST_DATA'] and fixed the patch problems with the session #534 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 11:15:26 +00:00 |
|
David Heinemeier Hansson
|
b69d337527
|
Applied the dblack patch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-24 15:35:30 +00:00 |
|
David Heinemeier Hansson
|
80b656637a
|
Added :application_prefix to url_for and friends that makes it easier to setup Rails in non-vhost environments #516 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-24 13:50:58 +00:00 |
|
David Heinemeier Hansson
|
45db66de56
|
Added :encode option to mail_to that'll allow you to masquarede the email address behind javascript or hex encoding #494 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-24 13:48:24 +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
|
d336ca5280
|
Fixed that the content-header was being set to application/octet_stream instead of application/octet-stream on send_date/file [Alexey]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-22 14:48:59 +00:00 |
|
David Heinemeier Hansson
|
bbd3e39668
|
Fixed no-binding fragment caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 17:54:06 +00:00 |
|
David Heinemeier Hansson
|
7306675fe2
|
Removed the need for passing the binding when using CacheHelper#cache
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 17:26:14 +00:00 |
|
David Heinemeier Hansson
|
79d7e66f78
|
Deactivated RAW_POST_DATA pending fix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 15:10:50 +00:00 |
|
David Heinemeier Hansson
|
dfed3d309e
|
A few missing files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:55:13 +00:00 |
|
David Heinemeier Hansson
|
93f7cb2a80
|
Added TestResponse#binary_content that'll return as a string the data sent through send_data/send_file for testing #500 [Alexey]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:43:59 +00:00 |
|
David Heinemeier Hansson
|
1a5bf720b2
|
Added @request.env['RAW_POST_DATA'] for people who need access to the data before Ruby's CGI has parsed it #505 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:31:48 +00:00 |
|
David Heinemeier Hansson
|
2ee84cc6f9
|
Fixed that all redirect and render calls now return true, so you can use the pattern of "do and return". Added that renders and redirects called in before_filters will have the same effect as returning false: stopping the chain. Added that only one render or redirect can happen per action. The first call wins and subsequent calls are ignored.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:13:34 +00:00 |
|
David Heinemeier Hansson
|
91ff8352a4
|
Fixed that a default fragment store wan't being set to MemoryStore as intended
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-20 14:12:53 +00:00 |
|
David Heinemeier Hansson
|
cd3f14cf38
|
Fixed a bug where cookies wouldn't be set if a symbol was used instead of a string as the key
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-17 23:38:14 +00:00 |
|
David Heinemeier Hansson
|
6ca5eba396
|
Added assert_cookie_equal to assert the contents of a named cookie
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-17 23:24:47 +00:00 |
|
David Heinemeier Hansson
|
4ec7a4b5b7
|
Fixed bug in page caching that prevented it from working at all
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-17 17:30:40 +00:00 |
|
David Heinemeier Hansson
|
9a33b9a737
|
Added more informative error message for "file not found" situation in send_file #484 [Alexey]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-16 13:06:15 +00:00 |
|
David Heinemeier Hansson
|
bc4156e09e
|
Finished documentation for caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-15 22:16:41 +00:00 |
|
David Heinemeier Hansson
|
c81af992e8
|
Added the option of passing a block to ActiveRecordHelper#form in order to add more to the auto-generated form #469 [dom@sisna.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-15 18:57:17 +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
|
9c09f81bc6
|
Added arrays as a value option for params in url_for and friends #467 [Eric Anderson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-13 14:06:33 +00:00 |
|
David Heinemeier Hansson
|
1d61071e7c
|
Fixed that controller tests can now assert on the use of cookies #466 [Alexey]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-13 14:01:17 +00:00 |
|
David Heinemeier Hansson
|
96e54780b3
|
Fixed that send_file would "remember" all the files sent by adding to the headers again and again #458 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-13 13:29:49 +00:00 |
|
David Heinemeier Hansson
|
d3a8d5f93c
|
Fixed url rewriter confusion when the controller or action name was a substring of the controller_prefix or action_prefix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-12 16:23:18 +00:00 |
|
David Heinemeier Hansson
|
cb8a020ec9
|
Fixed url rewriter confusion when the controller name was a substring of the controller_prefix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-12 15:21:09 +00:00 |
|
David Heinemeier Hansson
|
d44deadd39
|
Added option to turn off caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 22:03:27 +00:00 |
|
David Heinemeier Hansson
|
2182a8203f
|
Tweaks and tinkering
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 02:11:24 +00:00 |
|
David Heinemeier Hansson
|
efdabfb8f5
|
Updated to new naming style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 01:54:55 +00:00 |
|
David Heinemeier Hansson
|
e38ee7cd7f
|
Added conditional layouts like <tt>layout "weblog_standard", :except => :rss</tt> #452 [Marcel Molina] -- We are still missing unit tests for layouts in general, so please do contribute if you want some testing workout
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:50:11 +00:00 |
|
David Heinemeier Hansson
|
18e945d887
|
Added MemCacheStore to fragment caching #449 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:30:53 +00:00 |
|
David Heinemeier Hansson
|
0d1e3846d6
|
Fixed that MemCacheStore wasn't included by default and added default MemCache object pointing to localhost #447 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:29:55 +00:00 |
|
David Heinemeier Hansson
|
98c16a3320
|
Added fourth argument to render_collection_of_partials that allows you to specify local_assigns -- just like render_partial #432 [zenspider]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:27:33 +00:00 |
|
David Heinemeier Hansson
|
bcb8116796
|
Fixed that host would choke when cgi.host returned nil #432 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:15:02 +00:00 |
|
David Heinemeier Hansson
|
2594f2abe9
|
Added that form helpers now take an index option #448 [Tim Bates]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 23:57:36 +00:00 |
|
David Heinemeier Hansson
|
ebf424061d
|
Fixed three issues with retrying breakpoints #417 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 22:46:45 +00:00 |
|