aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Fix grammar error in [3115]. References #2966.Jeremy Kemper2005-11-211-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass multiple arguments to Element.show and Element.hide in ↵Sam Stephenson2005-11-213-6/+8
| | | | | | JavaScriptGenerator instead of using iterators git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve expire_fragment documentation. Closes #2966.Jeremy Kemper2005-11-212-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct docs for automatic layout assignment. Closes #2610.Marcel Molina2005-11-202-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3209@asus: jeremy | 2005-11-20 01:04:22 -0800Jeremy Kemper2005-11-201-2/+6
| | | | | | | If sessions are disabled, return a hash that raises an error when it's accessed. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make data writer private. Marshal/unmarshal handle nil.Jeremy Kemper2005-11-201-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Log ActiveRecordStore debugging.Jeremy Kemper2005-11-201-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document request.env and request.host. Strip trailing whitespace.Jeremy Kemper2005-11-201-15/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3173@asus: jeremy | 2005-11-18 23:34:41 -0800Jeremy Kemper2005-11-204-13/+16
| | | | | | | | | | | | | | | | | | | | | Ticket 2731 - sessions r3185@asus: jeremy | 2005-11-19 18:02:51 -0800 eliminate const redefinition warning r3186@asus: jeremy | 2005-11-19 19:25:50 -0800 Use :database option instead of :dbfile r3187@asus: jeremy | 2005-11-19 19:34:31 -0800 Data writer assigns to instance var. Since nothing is calling write_attribute on the data column except for marshal_data, simplify data reader to lazy-unmarshal the data column (no worrying whether it's already unmarshaled) r3188@asus: jeremy | 2005-11-19 19:35:40 -0800 Explicitly create the session class so that subsequent requests for the session can find it in the database. This is masking a problem with the controller losing its @session instance var and therefore requesting a new session. r3189@asus: jeremy | 2005-11-19 19:36:40 -0800 Using create unnecessarily broadens the existing duck-typing so use new + save instead. r3194@asus: jeremy | 2005-11-19 20:28:17 -0800 Test creation of another instance while first instance is still active. Should return same session_id. r3195@asus: jeremy | 2005-11-19 20:39:45 -0800 Always create new AR sessions rather than trying too hard to avoid database traffic. References #2731. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.4.0_rc4. Closes #2943 (old Array.prototype.reverse ↵Sam Stephenson2005-11-192-9/+21
| | | | | | behavior can be obtained by passing false as an argument) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Element.update('id', 'html') instead of uid=501(sam) gid=501(sam) ↵Sam Stephenson2005-11-183-3/+5
| | | | | | groups=501(sam), 81(appserveradm), 79(appserverusr), 80(admin).innerHTML = 'html' in JavaScriptGenerator#replace_html so that script tags are evaluated git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make rjs templates always implicitly skip out on layouts.Marcel Molina2005-11-184-9/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct length for the truncate text helper. Closes #2913.Jeremy Kemper2005-11-183-7/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.4.0_rc3. Closes #1893, #2505, #2550, #2748, #2783.Sam Stephenson2005-11-182-61/+95
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for new rjs templates which wrap an update_page block.Marcel Molina2005-11-174-23/+99
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Inline a method used by render_partial. Closes #2881.Jeremy Kemper2005-11-171-9/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename Version constant to VERSION. Closes #2802.Marcel Molina2005-11-173-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct time_zone_options_for_select docs. Closes #2892.Jeremy Kemper2005-11-162-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the unused, slow response_dump and session_dump variables from error ↵Jeremy Kemper2005-11-162-2/+2
| | | | | | pages. References #1222. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include QUOTED_TYPE constant in ActionPack AR assertions tests.Jeremy Kemper2005-11-161-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fewer objects, no loop in convert_content_type. Closes #2883.Jeremy Kemper2005-11-162-6/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Inline commonly-called template presence checks. Closes #2882.Jeremy Kemper2005-11-162-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid logging code if logger is nil. Closes #2881.Jeremy Kemper2005-11-162-5/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Set instead of Array to speed up prototype helper include? calls. ↵Jeremy Kemper2005-11-162-5/+9
| | | | | | Closes #2880. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MemCache store may be given multiple addresses. Closes #2869.Jeremy Kemper2005-11-163-35/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove invalid links in ActionView::Helpers::UrlHelper documentation. ↵Jeremy Kemper2005-11-151-2/+2
| | | | | | Closes #1961. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle cookie parsing irregularity for certain Nokia phones. Closes #2530.Jeremy Kemper2005-11-153-1/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored JavaScriptHelper into PrototypeHelper and ScriptaculousHelper. ↵Sam Stephenson2005-11-147-604/+947
| | | | | | Added PrototypeHelper::JavaScriptGenerator and PrototypeHelper#update_page for easily modifying multiple elements in an Ajax response. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk to latests script.aculo.usThomas Fuchs2005-11-144-109/+72
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Updated docs for in_place_editor, fixes a couple bugs and offers extended ↵Tobias Lütke2005-11-143-10/+14
| | | | | | support for external controls [Justin Palmer] closes #2870 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update documentation for render :file. References #2858.Jeremy Kemper2005-11-142-8/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3015 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Note that the ruby-memcache bindings are required to use the memcache store.Jeremy Kemper2005-11-141-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only include builtin filters whose filenames match ↵Jeremy Kemper2005-11-132-5/+6
| | | | | | /^[a-z][a-z_]*_helper.rb$/ to avoid including operating system metadata such as ._foo_helper.rb. References #2855. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* hidden_field can also be in fields_forDavid Heinemeier Hansson2005-11-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make form_for work with additional optionsDavid Heinemeier Hansson2005-11-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show with local varsDavid Heinemeier Hansson2005-11-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#form_for and FormHelper#fields_for that makes it easier to ↵David Heinemeier Hansson2005-11-1310-24/+338
| | | | | | work with forms for single objects also if they don't reside in instance variables [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* options_for_select allows any objects which respond_to? :first and :last ↵Jeremy Kemper2005-11-103-7/+19
| | | | | | rather than restricting to Array and Range. Closes #2824. References [2126]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* This does not need to be thread local (thanks skaes).Scott Barron2005-11-101-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The auto_link text helper accepts an optional block to format the link text ↵Jeremy Kemper2005-11-103-10/+40
| | | | | | for each url and email address. References #2628. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include all of session creation in stale_session_checkJeremy Kemper2005-11-091-6/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_tag uses exact matches for string conditions, instead of partial ↵Jamis Buck2005-11-092-1/+3
| | | | | | matches. Use regex to do partial matches. #2799 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Delete existing sessions with the same session id before creating a new ↵Jeremy Kemper2005-11-091-27/+42
| | | | | | session. Prevents duplication and hijacking. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CGI::Session::ActiveRecordStore.data_column_name = 'foobar' to use a ↵Jeremy Kemper2005-11-094-44/+61
| | | | | | different session data column than the 'data' default. References #2731. Remove error-prone method_missing passthrough to session model. Cleanup. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Controllers with acronyms in their names (e.g. PDFController) require the ↵Jeremy Kemper2005-11-084-6/+43
| | | | | | correct default helper (PDFHelper in file pdf_helper.rb). Closes #2262. Do not raise an exception when default helper is missing; log a debug message instead. It's nice to delete empty helpers. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for 0.14.3 (RC4)David Heinemeier Hansson2005-11-073-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added request as instance method to views, so you can do <%= ↵David Heinemeier Hansson2005-11-072-1/+3
| | | | | | request.env["HTTP_REFERER"] %>, just like you can already access response, session, and the likes [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2918 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix READMEs (closes #2680) [coffee2code]David Heinemeier Hansson2005-11-071-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix docs (closes #2725)David Heinemeier Hansson2005-11-074-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix conflict with assert_tag and Glue gem (closes #2255) ↵David Heinemeier Hansson2005-11-072-2/+4
| | | | | | [david.felstead@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de