Jeremy Kemper
|
db885e81b9
|
Ignore illegal seeks on body rewind. Catches CGI errors depending on your httpd. Closes #10404 [Curtis Hawthorne]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-07 04:20:20 +00:00 |
|
David Heinemeier Hansson
|
8f24701ae1
|
Fixed send_file/binary_content for testing (closes #8044) [tolsen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 23:23:04 +00:00 |
|
Marcel Molina
|
57c9630944
|
Adding missing space to documentation of the layout method. Closes #7126 [orangechicken, jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 22:19:10 +00:00 |
|
Marcel Molina
|
5af446346a
|
Add example of redirect_to that uses a named route. Closes #7149 [stevenbristol]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 22:07:58 +00:00 |
|
Marcel Molina
|
0d82b146a1
|
Correct example for path parameters to use strings as keys in the hash rather than symbols. Closes #7160 [akaspick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 22:04:02 +00:00 |
|
Marcel Molina
|
9ffb6328ea
|
Enhance documentation coverage for fragment caching. Closes #7315 [bscofield]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 21:06:36 +00:00 |
|
David Heinemeier Hansson
|
2af36bbbd4
|
Fix typos (closes #10378)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 18:54:41 +00:00 |
|
Marcel Molina
|
c27b9db39f
|
Add many examples to assertion documentation. Closes #7803 [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 18:17:23 +00:00 |
|
Marcel Molina
|
096f3f6468
|
Add examples in the documentation for various assertions. Closes #9938 [zapnap]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 14:40:42 +00:00 |
|
Marcel Molina
|
da5fef45fe
|
When a NonInferrableControllerError is raised, make the proposed fix clearer in the error message. Closes #10199 [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8283 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-05 14:31:41 +00:00 |
|
David Heinemeier Hansson
|
0aec2423ed
|
Removed some of the tags that does not make sense to allow per default in the whitelist
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-04 20:04:48 +00:00 |
|
David Heinemeier Hansson
|
e03f13c553
|
Fixed that verification violations with no specified action didn't halt the chain (now they do with a 400 Bad Request) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-30 21:04:57 +00:00 |
|
Michael Koziarski
|
fd3f048f6d
|
Make sure assert_select_rjs gets counted, Closes #10278 [tarmo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-29 02:49:11 +00:00 |
|
Rick Olson
|
0a9bc591e7
|
Raise UnknownHttpMethod exception for unknown HTTP methods. Closes #10303 [tarmo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-29 02:08:51 +00:00 |
|
Michael Koziarski
|
fa866765c2
|
correct confusing comments
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-28 04:14:51 +00:00 |
|
Michael Koziarski
|
6a611e1e95
|
Make sure the optimisation code for routes doesn't get used if :host, :anchor or :port are provided in the hash arguments. [pager, Koz] Closes #10292
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-28 04:11:37 +00:00 |
|
David Heinemeier Hansson
|
45d679bcb8
|
Added protection from trailing slashes on page caching (closes #10229) [devrieda]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-28 00:29:43 +00:00 |
|
David Heinemeier Hansson
|
5e94f053cb
|
Fixed to_s bug with namespace routes (closes #10283) [johnb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 22:41:28 +00:00 |
|
Marcel Molina
|
a0c925c0a3
|
Minor inconsistency in description of render example. Closes #10029 [ScottSchram]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 20:57:04 +00:00 |
|
Rick Olson
|
87e506da53
|
Add #prepend_view_path and #append_view_path instance methods on ActionController::Base for consistency with the class methods. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 03:59:23 +00:00 |
|
Rick Olson
|
1af084ecda
|
Refactor sanitizer helpers into HTML classes and make it easy to swap them out with custom implementations. Closes #10129. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 03:45:54 +00:00 |
|
David Heinemeier Hansson
|
9e76b59c85
|
Fixed that named routes living under resources shouldn't have double slashes (closes #10198) [isaacfeliu]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-25 22:24:23 +00:00 |
|
Michael Koziarski
|
7aab8b9a15
|
Improve error messages when providing a secret that is too short. Closes #10238 [Henrik N]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-24 22:41:16 +00:00 |
|
Jeremy Kemper
|
96add62ecc
|
Document that the cookie store is the default session store. Mention the memcached store. Closes #10241 [Josh Susser, Jeremy Kemper]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-22 05:48:45 +00:00 |
|
Michael Koziarski
|
ec93d61fb9
|
Make sure that cookie sessions use a secret that is at least 30 chars in length. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 21:31:45 +00:00 |
|
David Heinemeier Hansson
|
8a086c590f
|
Emphasize the importance of a dictionary attack-proof secret for the cookie store
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 15:47:50 +00:00 |
|
Michael Koziarski
|
41fb4904e2
|
Refactor cookie_only option to survive multiple requests and add regression tests. References #10048. [theflow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-21 04:28:59 +00:00 |
|
Michael Koziarski
|
0c12d6c6dc
|
Ensure that the routing optimisation code isn't used when additional arguments are passed to the named route. Closes #10209 [bscofield, Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-20 21:25:25 +00:00 |
|
Michael Koziarski
|
e1a2f3c898
|
Remove unnecessary route reload in integration tests, obsoleted by [7676]. Closes #10094. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-19 23:11:26 +00:00 |
|
David Heinemeier Hansson
|
713ca5196d
|
Docfix (closes #10155)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-18 21:51:09 +00:00 |
|
Michael Koziarski
|
6d0e5eaf06
|
memoize host with port and refactor the tests which depend on it changing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-17 05:41:47 +00:00 |
|
Michael Koziarski
|
c07eae4d40
|
Remove unneeded code to disable optimisations. the defined?(request) stuff takes care of this now.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-17 03:57:42 +00:00 |
|
David Heinemeier Hansson
|
31e2a2d9bb
|
Fixed handling of non-domain hosts (closes #9479) [purp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-07 14:57:51 +00:00 |
|
Marcel Molina
|
94502623fb
|
Standardize on using hyphens rather than colons to separate option names from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 23:33:40 +00:00 |
|
Marcel Molina
|
341afb6a81
|
Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 18:57:33 +00:00 |
|
Marcel Molina
|
af005df811
|
Add documentation for route conditions. Closes #9041 [innu, manfred]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 18:54:33 +00:00 |
|
David Heinemeier Hansson
|
9a8d583a91
|
Fixed that ActionController::CgiRequest#host_with_port() should handle standard port (closes #10082) [moro]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 16:36:10 +00:00 |
|
Michael Koziarski
|
7464a398e1
|
Minor documentation enhancements and white-space fixes. Closes #9819 [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 08:09:39 +00:00 |
|
Michael Koziarski
|
788ece4799
|
Make rescue_from behave like rescue when dealing with subclasses. Closes #10079 [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 06:02:24 +00:00 |
|
Michael Koziarski
|
800b69b6ad
|
Add missing quote to send_file documentation. [developingchris] Closes #10078
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-05 22:08:44 +00:00 |
|
Jeremy Kemper
|
dbcf59d47d
|
Profile an integration session instead of a single request
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-01 08:01:42 +00:00 |
|
Jeremy Kemper
|
82314608b5
|
Factor Integration::Runner behavior out of IntegrationTest. Introduce Session#request_count which counts processed requests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-01 07:59:24 +00:00 |
|
David Heinemeier Hansson
|
da532b92fd
|
Expose the cookie jar as a helper method (before the view would just get the raw cookie hash) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-31 16:46:56 +00:00 |
|
Jeremy Kemper
|
d44ce1cb73
|
Integration tests: get_ and post_via_redirect take a headers hash. Closes #9130.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-27 20:38:08 +00:00 |
|
Rick Olson
|
742694e0eb
|
Simplfy #view_paths implementation. ActionView templates get the exact object, not a dup. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 05:45:41 +00:00 |
|
Rick Olson
|
d7aa32d5d0
|
Update tests for ActiveSupport's JSON escaping change. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 05:32:30 +00:00 |
|
Marcel Molina
|
27ac7ad7e5
|
Make example parameters in restful routing docs idiomatic. Closes #9993 [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:32:20 +00:00 |
|
Marcel Molina
|
2f254137e2
|
Make documentation comment for mime responders match documentation example. Closes #9357 [yon]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 03:25:40 +00:00 |
|
Michael Koziarski
|
2cc0cac3ef
|
Introduce TestCase subclasses for testing rails applications allowing tests to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 02:21:21 +00:00 |
|
Marcel Molina
|
65e18af03a
|
Fix incorrect path in helper rdoc. Closes #9926 [viktor tron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-26 01:04:40 +00:00 |
|