aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Test periodically_call_remote with frequency. Closes #7244 [Rich Collins]Jeremy Kemper2007-06-081-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More nested polymorphic url helper fixes. Closes #6432, references #8601.Jeremy Kemper2007-06-072-23/+80
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix incomplete work from [6951] that was hidden by test stubs. Closes #6432.Jeremy Kemper2007-06-061-10/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resources: url_for([parent, child]) generates /parents/1/children/2 for the ↵Jeremy Kemper2007-06-052-7/+115
| | | | | | nested resource. Likewise with the other simply helpful methods like form_for and link_to. Closes #6432. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Assume html format when rendering partials in RJS. #8076 [Rick]Rick Olson2007-06-052-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6950 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't double-escape url_for in views. Closes #8144.Jeremy Kemper2007-06-051-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove junk form helper test. Closes #8416 [eric_oconnell]Jeremy Kemper2007-06-051-7/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow JSON-style values for the :with option of observe_field. Closes #8557 ↵Thomas Fuchs2007-06-031-0/+11
| | | | | | [kommen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: map.resource :logo routes to LogosController so the controller may ↵Jeremy Kemper2007-06-011-12/+12
| | | | | | be reused for multiple nestings or namespaces. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render :partial recognizes Active Record associations as Arrays. Closes #8538.Jeremy Kemper2007-06-012-1/+65
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that DateHelper#date_select should set the day to the 1st when its a ↵David Heinemeier Hansson2007-05-311-0/+17
| | | | | | hidden option and the month is visible (or invalid dates can be produced) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix test cases to match new json output. Closes #8371Rick Olson2007-05-292-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: drop semicolon and comma as route separators.Jeremy Kemper2007-05-291-18/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* request.remote_ip understands X-Forwarded-For addresses with nonstandard ↵Jeremy Kemper2007-05-281-0/+3
| | | | | | whitespace. Closes #7386. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't croak if ruby-debug isn't installed.Jeremy Kemper2007-05-281-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't prepare response when rendering a component. Closes #8493.Jeremy Kemper2007-05-271-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added custom path cache_page/expire_page parameters in addition to the ↵David Heinemeier Hansson2007-05-272-0/+26
| | | | | | options hashes [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Action Caching speedup. #8231 [skaes]Rick Olson2007-05-271-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure compiled template tests pass on windows where there are no symlinks. ↵Michael Koziarski2007-05-271-22/+28
| | | | | | [skaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: respond with 405 Method Not Allowed status when the route path ↵Jeremy Kemper2007-05-263-9/+45
| | | | | | matches but the HTTP method does not. Closes #6953. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for assert_select_rjs with :show and :hide. #7780 [dchelimsky]Marcel Molina2007-05-261-2/+64
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_select's failure messages clearer about what failed. #7779 ↵Marcel Molina2007-05-261-10/+33
| | | | | | [dchelimsky] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed svn add from [6856]. References #8174.Jeremy Kemper2007-05-261-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce a default respond_to block for custom types. Closes #8174.Jeremy Kemper2007-05-261-29/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* auto_complete_field takes a :method option so you can GET or POST. Closes #8120.Jeremy Kemper2007-05-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add multipart request parsing test with bracketed parameter key. References ↵Jeremy Kemper2007-05-242-0/+9
| | | | | | #8449. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to suppress :size when using :maxlength for ↵David Heinemeier Hansson2007-05-241-0/+6
| | | | | | FormTagHelper#text_field #3112 [rails@tpope.info] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* catch possible WSOD when trying to render a missing partial. Closes #8454 ↵Rick Olson2007-05-241-0/+10
| | | | | | [Catfish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set RAW_POST_DATA when request parameters are parsed.Jeremy Kemper2007-05-231-9/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rewind request body after reading it, if possible. Closes #8438.Jeremy Kemper2007-05-231-0/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rescuing in around_filters works as expected again [codahale, Stephan Kaes]. ↵Tobias Lütke2007-05-221-0/+35
| | | | | | Closes #8341 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Strip junk whitespace from [6806].Jeremy Kemper2007-05-221-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource namespaces are inherited by their has_many subresources. Closes #8280.Jeremy Kemper2007-05-221-3/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix filtered parameter logging with nil parameter values. Closes #8422.Jeremy Kemper2007-05-211-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration tests: alias xhr to xml_http_request and add a request_method ↵Jeremy Kemper2007-05-211-4/+54
| | | | | | argument instead of always using POST. Closes #7124. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix incorrent content type lookup in request parsing. Closes #8407.Jeremy Kemper2007-05-191-1/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow routes to be declared off namespacesTobias Lütke2007-05-192-2/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* observe_form always sends the serialized form. Closes #5271.Jeremy Kemper2007-05-181-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include location header in args.Jeremy Kemper2007-05-181-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Parse url-encoded and multipart requests ourselves instead of delegating to CGI.Jeremy Kemper2007-05-186-500/+410
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* select :include_blank option can be set to a string instead of true, which ↵Jeremy Kemper2007-05-181-0/+56
| | | | | | just uses an empty string. Closes #7664. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix render :location => ... test.Jeremy Kemper2007-05-181-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up the simply_helpful merge.Jeremy Kemper2007-05-182-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added url_for usage on render :location, which allows for record ↵David Heinemeier Hansson2007-05-171-1/+19
| | | | | | identification [DHH] (still need to figure out why that test doesnt pass, seems like a test issue) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow nested namespaces in routingTobias Lütke2007-05-171-0/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add multipart and url-encoded form mime types.Jeremy Kemper2007-05-151-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move request parameter parsing from CGI to AbstractRequest.Jeremy Kemper2007-05-152-34/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce the request.body stream. Lazy-read to parse parameters rather than ↵Jeremy Kemper2007-05-154-32/+48
| | | | | | always setting RAW_POST_DATA. Reduces the memory footprint of large binary PUT requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add some performance enhancements to ActionView.Rick Olson2007-05-151-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add test case for js.erb partials on *.js formatted requestsRick Olson2007-05-152-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de