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
|
be54075956
|
set ActiveSupport::Deprecation.debug = true to see backtraces for deprecation callers. off by default. on for Rails tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 03:38:13 +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 |
|
Jeremy Kemper
|
c3a52523ce
|
Active Record integration deprecation tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 03:07:17 +00:00 |
|
Jeremy Kemper
|
71dbef6d27
|
Integration tests: thoroughly test ActionController::Integration::Session. Closes #6022.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 23:34:57 +00:00 |
|
David Heinemeier Hansson
|
6d88a992b5
|
Added deprecation language for in_place_editor and auto_complete_field that both pieces will become plugins by Rails 2.0 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 23:22:24 +00:00 |
|
Jeremy Kemper
|
af61b9cdae
|
action
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 23:17:13 +00:00 |
|
David Heinemeier Hansson
|
5048aa9831
|
Deprecated old render parameter calls
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 23:02:56 +00:00 |
|
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
|
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 |
|
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
|
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 |
|
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
|
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 |
|
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 |
|
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
|
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
|
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
|
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 |
|
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 |
|
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 |
|
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 |
|
Nicholas Seckar
|
74165eb6ac
|
New dependencies implementation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-08 21:21:04 +00:00 |
|
Jeremy Kemper
|
c3cdd3b659
|
Deprecation: check whether instance variables have been monkeyed with before assigning them to deprecation proxies. Raises a RuntimeError if so.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 21:58:31 +00:00 |
|
Jeremy Kemper
|
c40b1a4a67
|
Deprecate direct usage of @params. Update ActionView::Base for instance var deprecation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 12:40:14 +00:00 |
|
Thomas Fuchs
|
a3b045a73e
|
Add support for the param_name parameter to the auto_complete_field helper. Fixes #5026 [david.a.williams@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 11:08:32 +00:00 |
|
Jeremy Kemper
|
2399a223c3
|
Deprecation! @session and @flash will be removed after 1.2. Use the session and flash methods instead. You'll get printed warnings during tests and logged warnings in dev mode when you access either instance variable directly.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 06:11:56 +00:00 |
|
Nicholas Seckar
|
127ee8c8f8
|
Make Routing noisy when an anchor regexp is assigned to a segment. Closes #5674
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 22:12:50 +00:00 |
|
David Heinemeier Hansson
|
4699c336f7
|
Make test_tag_options pass (closes #5600) [shugo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 21:38:03 +00:00 |
|
David Heinemeier Hansson
|
8eaf479156
|
Added months and years to the resolution of DateHelper#distance_of_time_in_words, such that "60 days ago" becomes "2 months ago" (closes #5611) [pjhyett@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 21:34:18 +00:00 |
|
David Heinemeier Hansson
|
5130fc84c6
|
Remove duplicate routes from mapped resources (closes #5712) [eigentone@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 20:46:49 +00:00 |
|
Jeremy Kemper
|
12ab93b72b
|
Make controller_path available as an instance method. Closes #5724.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-05 01:56:58 +00:00 |
|
David Heinemeier Hansson
|
2d6ca64c45
|
Make us pass to ease RESTful children posts
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-04 00:45:09 +00:00 |
|
David Heinemeier Hansson
|
6e842f216c
|
Make us pass to ease RESTful children posts
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-04 00:15:09 +00:00 |
|
Marcel Molina
|
d17bd6a043
|
Make action caching aware of different formats for the same action so that, e.g. foo.xml is cached separately from foo.html. Implicitly set content type when reading in cached content with mime revealing extensions so the entire onous isn't on the webserver. PDI MORE CACHING TESTS [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-03 23:59:38 +00:00 |
|