aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make rescue_from behave like rescue when dealing with subclasses. Closes ↵Michael Koziarski2007-11-061-6/+51
| | | | | | #10079 [fxn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Grammatical and whitespace fixes for form helper docs. Closes #10062 [chuyeow]Michael Koziarski2007-11-061-43/+42
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing quote to send_file documentation. [developingchris] Closes #10078Michael Koziarski2007-11-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Profile an integration session instead of a single requestJeremy Kemper2007-11-011-87/+58
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Factor Integration::Runner behavior out of IntegrationTest. Introduce ↵Jeremy Kemper2007-11-011-72/+85
| | | | | | Session#request_count which counts processed requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expose the cookie jar as a helper method (before the view would just get the ↵David Heinemeier Hansson2007-10-311-0/+4
| | | | | | raw cookie hash) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* compute_public_path behaves well with mailers also. Closes #10014.Jeremy Kemper2007-10-291-6/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration tests: get_ and post_via_redirect take a headers hash. Closes #9130.Jeremy Kemper2007-10-271-6/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplfy #view_paths implementation. ActionView templates get the exact ↵Rick Olson2007-10-261-24/+27
| | | | | | object, not a dup. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update tests for ActiveSupport's JSON escaping change. [rick]Rick Olson2007-10-261-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* FormHelper's auto_index should use #to_param instead of ↵Rick Olson2007-10-261-3/+3
| | | | | | #id_before_type_cast. Closes #9994 [mattly] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc typo fixes for ActiveRecordHelper. Closes #9973 [mikong]Marcel Molina2007-10-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make example parameters in restful routing docs idiomatic. Closes #9993 [danger]Marcel Molina2007-10-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make documentation comment for mime responders match documentation example. ↵Marcel Molina2007-10-261-1/+1
| | | | | | Closes #9357 [yon] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TestCase subclasses for testing rails applications allowing tests ↵Michael Koziarski2007-10-261-0/+53
| | | | | | to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix incorrect path in helper rdoc. Closes #9926 [viktor tron]Marcel Molina2007-10-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Partials also set 'object' to the default partial variable. Closes #8823.Jeremy Kemper2007-10-251-6/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* / default uri, -b shortcutJeremy Kemper2007-10-251-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Request profilerJeremy Kemper2007-10-251-0/+167
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor the default rendering out to a method called default_render to ↵Michael Koziarski2007-10-251-5/+9
| | | | | | provide a hook for plugin authors. Closes #9953 [cjheath] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unnecessary returns from builtin filters since render/return is now ↵Jeremy Kemper2007-10-243-8/+1
| | | | | | sufficient. Closes #9952 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disabled checkboxes don't submit a form value. Closes #9301.Jeremy Kemper2007-10-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Some mime type refactoring. Closes #9957 [Josh Peek]Jeremy Kemper2007-10-233-22/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8001 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove duplicate rjs layout check. Closes #9956 [Josh Peek]Jeremy Kemper2007-10-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* request.parameters doesn't overwrite request.request_parameters. Closes ↵Jeremy Kemper2007-10-221-1/+1
| | | | | | #9949 [nullstyle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed before_filter halting to happen automatically on render or redirect ↵David Heinemeier Hansson2007-10-211-19/+28
| | | | | | but no longer on simply returning false [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that cookies handle array values correctly. Closes #9937 [queso]Rick Olson2007-10-201-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove more potential clashes with asset methods and resource routes. ↵Michael Koziarski2007-10-191-4/+6
| | | | | | Closes #9928 [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename image_path path_to_image to avoid conflicting with named routes. ↵Michael Koziarski2007-10-192-2/+3
| | | | | | Closes #9924 [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use SecureRandom to generate unique ids, if available.Jeremy Kemper2007-10-181-12/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* caches_page uses a single after_filter instead of one per action. Closes #9891.Jeremy Kemper2007-10-161-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype to 1.6.0_rc1 and script.aculo.us to 1.8.0 preview 0.Sam Stephenson2007-10-164-1643/+2646
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More Performant Cookie Regexp for Integration tests. [Ola Bini]Michael Koziarski2007-10-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dispatcher: fix that to_prepare should only run once in production. Closes ↵Jeremy Kemper2007-10-161-1/+2
| | | | | | #9889. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve the error message for assert_redirected_to. Closes #7337 [mikong, ↵Jeremy Kemper2007-10-161-3/+2
| | | | | | sandofsky] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix silent failure of rxml templates. Closes #9879.Jeremy Kemper2007-10-151-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Json related documentation for render and the AR serializer. Closes ↵Michael Koziarski2007-10-152-6/+12
| | | | | | #9814. Closes #9833. [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sync country_select with ISO 3166 long names. Closes #6872 [abhay, mikong, ↵Michael Koziarski2007-10-151-52/+45
| | | | | | ruben] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enhance documentation for observe_field. Closes #9808 [RubyRedRick, danger]Michael Koziarski2007-10-151-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Memcached sessions: add session data on initialization; don't silently ↵Jeremy Kemper2007-10-141-15/+8
| | | | | | discard exceptions; add unit tests. Closes #9823. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* error_messages_for also takes :message and :header_message options which ↵Jeremy Kemper2007-10-141-12/+14
| | | | | | defaults to the old "There were problems with the following fields:" and "<count> errors prohibited this <object_name> from being saved". Closes #8270. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed post_via_redirect. References #6834Michael Koziarski2007-10-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Define get_via_redirect as well. Closes #6834 [colthorp]Michael Koziarski2007-10-131-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that custom inflections are picked up by map.resources by ↵Michael Koziarski2007-10-131-7/+20
| | | | | | triggering a routing reload when new inflections are defined. Closes #9815 [mislav, kampers] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update versions here tooDavid Heinemeier Hansson2007-10-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* JavaScriptVariableProxy#to_json ignores the options argJeremy Kemper2007-10-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extracted sanitization methods from TextHelper to SanitizeHelper [DHH] ↵David Heinemeier Hansson2007-10-102-308/+326
| | | | | | Changed SanitizeHelper#sanitize to only allow the custom attributes and tags when specified in the call [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rescue_from accepts :with => lambda { |exception| ... } or a normal block. ↵Jeremy Kemper2007-10-101-4/+7
| | | | | | Closes #9827. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :status to redirect_to allowing users to choose their own response code ↵Michael Koziarski2007-10-092-10/+25
| | | | | | without manually setting headers. Closes #8297 [codahale, chasgrundy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* form_for example for namespaced routes. Closes #9769 [sjgman9]Michael Koziarski2007-10-081-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de