Commit Graph

1492 Commits

Author SHA1 Message Date
David Heinemeier Hansson
268c1dee8f Require action mailer more gracefully
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 22:43:24 +00:00
David Heinemeier Hansson
4bd444c1fe More deprecation fun
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 22:35:31 +00:00
David Heinemeier Hansson
761f1f1f3a Deprecate deprecated assertions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 20:36:51 +00:00
David Heinemeier Hansson
d52b4a6645 Moved in deprecated assertions and remove duplicated requires
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 20:27:48 +00:00
David Heinemeier Hansson
a4bef314fe Follow proper naming conventions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 20:22:47 +00:00
David Heinemeier Hansson
f12fdc50a6 Better compartmentalizing of assertions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 20:18:06 +00:00
David Heinemeier Hansson
3142502964 Added assert_select* for CSS selector-based testing (deprecates assert_tag) #5936 [assaf.arkin@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 19:54:21 +00:00
Jeremy Kemper
4fc6c872ef radio_button_tag generates unique id attributes. Closes #3353.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 19:32:31 +00:00
David Heinemeier Hansson
fef2d880a5 Update copyright times
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 18:53:05 +00:00
David Heinemeier Hansson
b6afb2837c Nitpick updates
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4919 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 18:34:28 +00:00
Jeremy Kemper
6d17ece9f2 strip_tags returns nil for a blank arg such as nil or "". Closes #2229.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 16:47:05 +00:00
Jeremy Kemper
db9be58719 Cleanup assert_tag :children counting. Closes #2181.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 16:40:01 +00:00
Jeremy Kemper
a769b88819 button_to accepts :method so you can PUT and DELETE with it. Closes #6005.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 15:59:18 +00:00
Rick Olson
0c999f4125 Update sanitize text helper to strip plaintext tags, and <img src=javascript:bang>. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 00:02:14 +00:00
Rick Olson
ad63005cdd Update routing documentation. Closes #6017 [Nathan Witmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-02 20:43:29 +00:00
Rick Olson
2b45e2d370 Add routing tests to assert that RoutingError is raised when conditions aren't met. Closes #6016 [Nathan Witmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-02 20:41:40 +00:00
David Heinemeier Hansson
c1c659a2de Doc fixes (closes #6012)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-02 19:45:03 +00:00
David Heinemeier Hansson
6e08dab186 Docs for js linkers (closes #5948)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-02 19:41:04 +00:00
Jeremy Kemper
7aa9eed88f Deprecation: update docs. Closes #5998.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-01 23:37:10 +00:00
Jamis Buck
bdf91d6748 Make auto_link parse a greater subset of valid url formats.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-02 01:47:32 +00:00
Jeremy Kemper
9c99be88b2 Integration tests: headers beginning with X aren't excluded from the HTTP_ prefix, so X-Requested-With becomes HTTP_X_REQUESTED_WITH as expected.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-01 02:25:29 +00:00
David Heinemeier Hansson
e278b72bf3 Fixed a few find_alls
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 23:38:03 +00:00
Jeremy Kemper
12ff554cd4 Tighten rescue clauses. Closes #5985.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 03:16:28 +00:00
Jeremy Kemper
785e1fa599 Fix send_data documentation typo. Closes #5982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 03:07:38 +00:00
Nicholas Seckar
d34a346d9d Switch to using FormEncodedPairParser for parsing request parameters.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-30 05:50:02 +00:00
Nicholas Seckar
9ece976a99 Add desc for test task so that completion can detect it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-30 04:51:11 +00:00
Tobias Lütke
ff063d700d respond_to .html now always renders #{action_name}.rhtml so that registered custom template handlers do not override it in priority.
Custom mime types require a block and throw proper error now.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-30 00:34:36 +00:00
David Heinemeier Hansson
06a731e365 Keep onsubmit around for form_remote_for
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-29 07:48:55 +00:00
David Heinemeier Hansson
eb1d78189e Reload should take options for the replace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-29 00:20:18 +00:00
David Heinemeier Hansson
d164d09649 FormEncodedStringParser needs a tad more work before it can handle POST data (like file handling), so were backing out for a bit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-28 14:05:05 +00:00
Jeremy Kemper
9f8b8f5ca8 Typo in integration app session. Closes #5864.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-26 06:54:26 +00:00
Jeremy Kemper
96c6ca369a Deprecation: test deprecated instance vars in partials.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-26 05:58:16 +00:00
David Heinemeier Hansson
7b34d0f8c5 Actually, indifferent access mattered in the bowels (hashes hidden in arrays)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-26 03:09:32 +00:00
David Heinemeier Hansson
a78519071c Result is made indifferent on the way out
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-26 02:58:55 +00:00
David Heinemeier Hansson
04fda65306 Changed the POST parameter processing to use the new QueryStringParser and make the result a indifferent hash [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-26 02:49:09 +00:00
David Heinemeier Hansson
9e054fdf41 More tests for array/hashing in parameters, one failing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-26 01:57:44 +00:00
Nicholas Seckar
3b1972a896 Add UrlWriter to allow writing urls from Mailers and scripts.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-24 06:15:01 +00:00
Jeremy Kemper
d65a8f6e9e map.resources docs typo closes #5895
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-24 01:52:23 +00:00
Jeremy Kemper
767eaa9df1 Clean up and run the Active Record integration tests by default. Closes #5854.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-22 09:19:55 +00:00
Nicholas Seckar
caf546b675 Add test case from ticket #4090
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-22 07:18:24 +00:00
Jeremy Kemper
070f3fdc8c Clean up and run the Active Record integration tests by default.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-22 04:38:03 +00:00
Jeremy Kemper
04d2d5f288 Correct example in cookies docs. Closes #5832.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-20 05:28:47 +00:00
Thomas Fuchs
6457b365a1 Updated trunk to script.aculo.us 1.6.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-15 14:20:55 +00:00
Nicholas Seckar
5f3486c0b4 cleanup
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-15 02:04:25 +00:00
Nicholas Seckar
7678d123a7 Relax Routing's anchor pattern warning; it was preventing use of [^/] inside restrictions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-15 02:04:11 +00:00
Nicholas Seckar
5baf7462c7 Add controller_paths variable to Routing; Assign Routing.controller_paths from initializer; fix script/about and rails info controller.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-15 01:28:06 +00:00
Marcel Molina
2ac4839050 Update respond_to docs to follow established naming convention
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-14 14:33:40 +00:00
Rick Olson
8c4b599b7c Fix assert_redirected_to issue with named routes for module controllers. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-13 18:31:58 +00:00
Rick Olson
c963f8e955 Tweak RoutingError message to show option diffs, not just missing named route significant keys. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-13 18:00:08 +00:00
Nicholas Seckar
84bacf99d6 Invoke method_missing directly for hidden actions. Closes #3030.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-13 04:15:22 +00:00