Jamis Buck
|
b5ec0fe313
|
Fix broken assert_generates when extra keys are being checked.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5309 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-16 14:32:11 +00:00 |
|
Jamis Buck
|
39963b4b9d
|
remove an obsolete #dup call. avoid double negatives, to make the code easier to understand and explain
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-15 03:11:08 +00:00 |
|
Jamis Buck
|
ef6921628d
|
make sure filters in subclasses with :only or :except conditions are treated like skip_filter calls
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-14 01:54:42 +00:00 |
|
Marcel Molina
|
065908a4c5
|
Make page caching respect the format of the resource that is being requested even if the current route is the default route so that, e.g. posts.rss is not transformed by url_for to '/' and subsequently cached as '/index.html' when it should be cached as '/posts.rss'.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-12 23:29:04 +00:00 |
|
Jamis Buck
|
02dc646d55
|
Fix relative URL root matching problems
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 19:14:11 +00:00 |
|
Jeremy Kemper
|
eaae0399ad
|
r5540@ks: jeremy | 2006-10-08 23:05:30 -0700
#5949
r5541@ks: jeremy | 2006-10-08 23:07:08 -0700
Fix filter skipping in controller subclasses.
r5557@ks: jeremy | 2006-10-08 23:11:24 -0700
Update changelog. Closes #5949, references #6297, references #6299.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 06:11:40 +00:00 |
|
Jeremy Kemper
|
a307b8c7dc
|
render_text may optionally append to the response body. render_javascript appends by default. This allows you to chain multiple render :update calls by setting @performed_render = false between them (awaiting a better public API).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 01:26:35 +00:00 |
|
Nicholas Seckar
|
bc85e6ac4c
|
Rename test assertion to prevent shadowing. Closes #6306.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5252 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 01:20:36 +00:00 |
|
Jeremy Kemper
|
5d1edc55a8
|
one render per test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 01:14:38 +00:00 |
|
David Heinemeier Hansson
|
f9650a23f0
|
Fixed that caches_action breaks with file extensions (closes #6257) [Catfish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 00:56:13 +00:00 |
|
David Heinemeier Hansson
|
3c6b7a2191
|
Fixed that assert_select selects the wrong tag by its contents (closes #6332) [jgarber]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 00:20:31 +00:00 |
|
Jeremy Kemper
|
7ea86773a9
|
r5515@ks: jeremy | 2006-10-08 13:24:42 -0700
#6281
r5516@ks: jeremy | 2006-10-08 13:29:49 -0700
respond_to :html doesn't assume .rhtml. Closes #6281.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-08 20:30:24 +00:00 |
|
Jeremy Kemper
|
4f3bf6cb23
|
Deprecate @cookies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-29 08:04:39 +00:00 |
|
Jeremy Kemper
|
643d17ce9e
|
assert_select_rjs decodes escaped unicode chars since the Javascript generators encode them. Closes #6240.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-29 07:39:31 +00:00 |
|
Jeremy Kemper
|
d7674637f9
|
Deprecation: @request will be removed after 1.2. Use the request method instead.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-29 07:34:02 +00:00 |
|
Jamis Buck
|
c0eccc9aef
|
modify head so that you can specify a bare status code as the first parameter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-28 19:32:40 +00:00 |
|
Jamis Buck
|
b2ede64a89
|
Add ActionController::Base#head for rendering empty responses. Add support for symbolic status codes, as well as for having raw integer statuses expand with their default messages.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-28 19:13:55 +00:00 |
|
Rick Olson
|
e537de00d8
|
Fix bug that kept any before_filter except the first one from being able to halt the before_filter chain. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-27 04:55:44 +00:00 |
|
Jamis Buck
|
6a8dcc8a5b
|
Make sure map.resources(:things, :new => { :new => :any }) correctly sets /things/new to be accessible by any method rather than creating another resource at /things/new;new
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-26 22:45:09 +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
|
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 |
|
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 |
|
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 |
|
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
|
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 |
|
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 |
|
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 |
|
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 |
|
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
|
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 |
|
Jamis Buck
|
3f0952d9df
|
Fix assert_tag so that :content => "foo" does not match substrings, but only exact strings. Use :content => /foo/ to match substrings. closes #2799
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-10 02:51:38 +00:00 |
|
Jamis Buck
|
5bf41ed8bc
|
Add test case to test attribute matching by assert_tag
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-09 22:05:21 +00:00 |
|
Nicholas Seckar
|
00685ad8fd
|
Update UrlWriter to support :only_path.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-06 22:21:36 +00:00 |
|
Rick Olson
|
5360e47431
|
added passing test for using partials with an xml builder
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-06 03:51:45 +00:00 |
|
David Heinemeier Hansson
|
83313fccc0
|
Backed out of locals hash as it caused trouble with Builder, see ticket for more
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-06 03:38:11 +00:00 |
|
David Heinemeier Hansson
|
c2054c4289
|
Superseeded by action_caching_test (closes #5173)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5001 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 20:39:50 +00:00 |
|
David Heinemeier Hansson
|
40762a4873
|
Fixed default routing NoMethodError downcase for nil when default controller provided (closes #5400) [kajism@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 20:09:15 +00:00 |
|
David Heinemeier Hansson
|
df70e28e03
|
Added locals hash to partials, which makes for convenient access of some times available/some times not variables (closes #5491) [wbruce@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 20:01:52 +00:00 |
|
Jeremy Kemper
|
da8d7a7011
|
deprecated render assertions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:51:48 +00:00 |
|
Jeremy Kemper
|
e04a6e8155
|
deprecated assertions tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:47:51 +00:00 |
|
David Heinemeier Hansson
|
653bfe9600
|
Dont raise deprecation warning on render :action => "stuff"
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:24:08 +00:00 |
|
Jeremy Kemper
|
ea831469a9
|
new render deprecations test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:09:18 +00:00 |
|
Jeremy Kemper
|
96c45a8118
|
Don't use deprecated render API. Cosmetics.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:07:26 +00:00 |
|
Jeremy Kemper
|
7cbb4ac44f
|
deprecated keep_flash test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:06:10 +00:00 |
|
Jeremy Kemper
|
3158730411
|
redirect deprecation tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:05:11 +00:00 |
|
Jeremy Kemper
|
d4a3eff89d
|
no more render_to_string deprecation warnings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 04:59:05 +00:00 |
|
Jeremy Kemper
|
7818cf1123
|
deprecated render tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 04:05:38 +00:00 |
|
Jeremy Kemper
|
9b424f04ca
|
test_test deprecation and cosmetics
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 04:03:57 +00:00 |
|
Jeremy Kemper
|
25ea18aa15
|
Fix deprecation warnings in verification tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 03:17:32 +00:00 |
|