aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug where action caching sets the content type to the ActionCachePath ↵Rick Olson2007-08-201-1/+1
| | | | | | object. Closes #9282 [mindforge] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing sentenceMichael Koziarski2007-08-171-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve url_for documentation for ActionController::Base and UrlRewriter. ↵Michael Koziarski2007-08-172-15/+32
| | | | | | Closes #9022. Closes #9077. [juanjo.bazan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7331 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Find layouts even if they're not in the first view_paths directory. Closes ↵Rick Olson2007-08-151-5/+3
| | | | | | #9258 [caio] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix failing active record store testsMichael Koziarski2007-08-141-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Send freshness information when sending Etags. Without this internet ↵Michael Koziarski2007-08-121-1/+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
* Ignore processing instructions when parsing htmlMichael Koziarski2007-08-101-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow you to set custom :conditions on resource routes. [Rick]Rick Olson2007-07-251-10/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored in use of extract_options! (closes #9079) [josh]David Heinemeier Hansson2007-07-243-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that file.content_type for uploaded files would include a trailing \r ↵David Heinemeier Hansson2007-07-241-1/+1
| | | | | | #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-191-4/+18
| | | | | | record [Josh Knowles]. Closes #8640 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make :trailing_slash work with query parameters for url_for. Closes #4004 [nov]Michael Koziarski2007-07-141-3/+3
| | | | 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-2/+3
| | | | | | 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-47/+47
| | | | | | with after filters. Closes #8891 [skaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow you to delete cookies with options. Closes #3685 [josh, Chris Wanstrath]Michael Koziarski2007-07-011-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Temporary fix for formatted_polymorphic_urls and other polys that have ↵David Heinemeier Hansson2007-06-281-6/+5
| | | | | | 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-10/+33
| | | | | | 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
* Allow sweepers to be created solely for expiring after controller actions, ↵David Heinemeier Hansson2007-06-261-0/+5
| | | | | | not model changes [DHH] Added assigns method to ActionController::Caching::Sweeper to easily access instance variables on the controller [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give the legacy X-POST_DATA_FORMAT header greater precedence during params ↵Jeremy Kemper2007-06-261-6/+8
| | | | | | parsing for backward compatibility. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #8518)David Heinemeier Hansson2007-06-231-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #8321)David Heinemeier Hansson2007-06-231-4/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that HTTP authentication should work if the header is called ↵David Heinemeier Hansson2007-06-231-43/+51
| | | | | | 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-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tolerate missing content type on multipart file uploads. Fix for Safari 3.Jeremy Kemper2007-06-121-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove pagination. Install the classic_pagination plugin for ↵Jeremy Kemper2007-06-111-402/+0
| | | | | | forward compatibility, or move to the superior will_paginate plugin. Closes #8157. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in resources documentation. Closes #8607 [yon]Jeremy Kemper2007-06-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Action caching is limited to GET requests returning 200 OK status. Closes #3335.Jeremy Kemper2007-06-081-5/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More nested polymorphic url helper fixes. Closes #6432, references #8601.Jeremy Kemper2007-06-071-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resources: url_for([parent, child]) generates /parents/1/children/2 for the ↵Jeremy Kemper2007-06-052-26/+40
| | | | | | 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
* Routing: map.resource :logo routes to LogosController so the controller may ↵Jeremy Kemper2007-06-011-7/+5
| | | | | | be reused for multiple nestings or namespaces. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing helper load error shouldn't shadow load errors within the helper itself.Jeremy Kemper2007-05-311-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't choke on nested helpers.Jeremy Kemper2007-05-291-18/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix test cases to match new json output. Closes #8371Rick Olson2007-05-291-0/+2
| | | | 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-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct flash discard rdoc. Closes #8502 [kampers]Jeremy Kemper2007-05-291-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* request.remote_ip understands X-Forwarded-For addresses with nonstandard ↵Jeremy Kemper2007-05-281-1/+1
| | | | | | whitespace. Closes #7386. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't prepare response when rendering a component. Closes #8493.Jeremy Kemper2007-05-271-1/+1
| | | | 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-271-5/+17
| | | | | | 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-35/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wordsmith resources documentation. Closes #8484.Jeremy Kemper2007-05-271-38/+63
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix syntax error in code example for routing documentation. #8377. [norbert]Marcel Molina2007-05-261-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: respond with 405 Method Not Allowed status when the route path ↵Jeremy Kemper2007-05-263-7/+44
| | | | | | 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-5/+8
| | | | 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-11/+19
| | | | | | [dchelimsky] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce a default respond_to block for custom types. Closes #8174.Jeremy Kemper2007-05-261-69/+57
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't alias local varJeremy Kemper2007-05-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set RAW_POST_DATA when request parameters are parsed.Jeremy Kemper2007-05-232-36/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extend the view instance directly instead of mucking with anonymous subclasses.Jeremy Kemper2007-05-231-10/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't play with fire (anonymous class and returning block).Jeremy Kemper2007-05-231-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [6811]. Should be fixed instead of selectively reintroducing the ↵Jeremy Kemper2007-05-231-1/+0
| | | | | | deprecated environment variable. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de