aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up link to remote options. Closes #9505. [nik.wakelin]Michael Koziarski2007-09-121-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Purge empty filesJeremy Kemper2007-09-1136-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved ActionController::Macros::AutoComplete into the auto_complete plugin ↵David Heinemeier Hansson2007-09-111-67/+0
| | | | | | on the official Rails svn #9512 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that resource namespaces wouldnt stick to all nested resources (closes ↵David Heinemeier Hansson2007-09-101-0/+32
| | | | | | #9399) [pixeltrix] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved ActionController::Macros::InPlaceEditing into the in_place_editor ↵David Heinemeier Hansson2007-09-101-44/+0
| | | | | | plugin on the official Rails svn (closes #9513) [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed deprecated form of calling xml_http_request/xhr without the first ↵David Heinemeier Hansson2007-09-091-10/+0
| | | | | | argument being the http verb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed deprecated ActionController::Base.cookie (use ↵David Heinemeier Hansson2007-09-091-5/+0
| | | | | | ActionController#Base.cookies[]= instead) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed deprecated ActionController::Base.cookie (use ↵David Heinemeier Hansson2007-09-091-4/+0
| | | | | | ActionController#Base.cookies[]= instead) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7434 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the deprecated behavior of appending ".png" to image_tag/image_path ↵David Heinemeier Hansson2007-09-091-12/+3
| | | | | | calls without an existing extension [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed ActionController::Base#keep_flash (use flash.keep instead)David Heinemeier Hansson2007-09-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the deprecated ActionController#Base.template_root/= methods (use ↵David Heinemeier Hansson2007-09-091-10/+0
| | | | | | ActionController#Base.view_paths/= instead) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename fieldset_tag to field_set_tag to follow the conventions from ↵David Heinemeier Hansson2007-09-091-4/+4
| | | | | | text_area and text_field [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimise named route generation when using positional arguments. Closes ↵Michael Koziarski2007-09-092-51/+102
| | | | | | | | | | | | #9450 [Koz] This change delivers significant performance benefits for the most common usage scenarios for modern rails applications by avoiding the costly trip through url_for. Initial benchmarks indicate this is between 6 and 20 times as fast. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix layout overriding response status. Closes #9476.Jeremy Kemper2007-09-081-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7418 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_select for XML documents. Closes #8173. [dasil003]Michael Koziarski2007-09-081-0/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a user_agent to TestRequestMichael Koziarski2007-09-071-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove deprecated named routes [pixeltrix]Tobias Lütke2007-09-062-102/+56
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add fieldset_tag for generating fieldsets, closes #9477. [djanowski]Michael Koziarski2007-09-061-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow additional parameters to be passed to named route helpers when using ↵Michael Koziarski2007-09-051-0/+12
| | | | | | positional arguments. Closes #8930 [ian.w.white@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove deprecated functionality from actionpack. Closes #8958 [lifofifo]Michael Koziarski2007-09-0310-80/+83
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add array support to remote_form_for for polymorphic urls. Closes #8654 [jade]Michael Koziarski2007-09-021-13/+43
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make auto link behave well with URLs containing email addresses. Closes ↵Michael Koziarski2007-09-021-0/+4
| | | | | | #7313 [jeremymcnally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Properly quote the arguments to visual_effect. Closes #7220 [jeremymcanally]Michael Koziarski2007-09-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* request.host works with IPv6 addresses. Closes #9458.Jeremy Kemper2007-08-311-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use mocha to avoid the sleep calls in the compiled_template tests. [tarmo] ↵Michael Koziarski2007-08-291-17/+34
| | | | | | Closes #9372 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* correct the ActionCacheTest from [7346]Rick Olson2007-08-201-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug where action caching sets the content type to the ActionCachePath ↵Rick Olson2007-08-201-0/+5
| | | | | | object. Closes #9282 [mindforge] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add missing layouts from [7321]Rick Olson2007-08-151-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Find layouts even if they're not in the first view_paths directory. Closes ↵Rick Olson2007-08-151-1/+14
| | | | | | #9258 [caio] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Send freshness information when sending Etags. Without this internet ↵Michael Koziarski2007-08-121-0/+1
| | | | | | explorer will not send conditional gets for a resource, but instead hold on to the responses for the current browser session. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7309 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix number_to_human_size when using different precisions. Closes #7536. ↵Michael Koziarski2007-08-051-0/+4
| | | | | | [RichardStrand, mpalmer] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added partial layouts (see example in action_view/lib/partials.rb) [DHH]David Heinemeier Hansson2007-08-025-1/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow you to set custom :conditions on resource routes. [Rick]Rick Olson2007-07-251-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that file.content_type for uploaded files would include a trailing \r ↵David Heinemeier Hansson2007-07-241-3/+3
| | | | | | #9053 [bgreenlee] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * url_for now accepts a series of symbols representing the namespace of the ↵Tobias Lütke2007-07-192-0/+56
| | | | | | record [Josh Knowles]. Closes #8640 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce fake_models.rb to avoid platform-specific code. [mpalmer] Closes #8714Michael Koziarski2007-07-173-10/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make :trailing_slash work with query parameters for url_for. Closes #4004 [nov]Michael Koziarski2007-07-141-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure missing template exceptions actually say which template they were ↵Michael Koziarski2007-07-111-0/+14
| | | | | | looking for. Closes #8683 [dasil003] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix errors with around_filters which do not yield, restore 1.1 behaviour ↵Michael Koziarski2007-07-111-7/+73
| | | | | | with after filters. Closes #8891 [skaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support for non heterogeneous arrays when serializing to xml. Unless ↵Tobias Lütke2007-07-091-0/+7
| | | | | | guessable from array name the type name will be included as attribute git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow you to delete cookies with options. Closes #3685 [josh, Chris Wanstrath]Michael Koziarski2007-07-011-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow you to render views with periods in the name. Closes #8076 [norbert]Rick Olson2007-07-011-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Temporary fix for formatted_polymorphic_urls and other polys that have ↵David Heinemeier Hansson2007-06-281-3/+4
| | | | | | additional options (need better testing!) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prefix nested resource named routes with their action name, e.g. ↵Jeremy Kemper2007-06-272-34/+169
| | | | | | new_group_user_path(@group) instead of group_new_user_path(@group). The old nested action named route is deprecated in Rails 1.2.4. Closes #8558. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give the legacy X-POST_DATA_FORMAT header greater precedence during params ↵Jeremy Kemper2007-06-261-0/+10
| | | | | | parsing for backward compatibility. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that link_to with an href of # when using :method will not allow for ↵David Heinemeier Hansson2007-06-231-0/+7
| | | | | | click-through without JavaScript (closes #7037) [stevenbristol/josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that radio_button_tag should generate unique ids (closes #3353) ↵David Heinemeier Hansson2007-06-231-0/+3
| | | | | | [BobSilva/rebecca/josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that HTTP authentication should work if the header is called ↵David Heinemeier Hansson2007-06-231-22/+34
| | | | | | REDIRECT_X_HTTP_AUTHORIZATION as well (closes #6754) [mislaw] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't mistakenly interpret the request uri as the query string. Closes #8731.Jeremy Kemper2007-06-231-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make ActionView#view_paths an attr_accessor for real this time. Also, don't ↵Rick Olson2007-06-151-1/+14
| | | | | | perform an unnecessary #compact on the @view_paths array in #initialize. Closes #8582 [dasil003, julik, rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de