aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Add documentation to assert_tag indicating that it only works with ↵Jamis Buck2005-11-061-0/+6
| | | | | | well-formed XHTML git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update paginator docs. Closes #2744.Jeremy Kemper2005-11-051-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_no_tagDavid Heinemeier Hansson2005-11-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added skip_before_filter/skip_after_filter for easier control of the filter ↵David Heinemeier Hansson2005-11-042-1/+49
| | | | | | chain in inheritance hierachies [DHH] Added short-hand to assert_tag so assert_tag :tag => "span" can be written as assert_tag "span" [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added redirect_to :back as a short-hand for ↵David Heinemeier Hansson2005-11-021-0/+6
| | | | | | redirect_to(request.env["HTTP_REFERER"]) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ensure close_session in AC::Base#processJeremy Kemper2005-11-021-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem where redirecting components can cause an Scott Barron2005-10-301-0/+1
| | | | | | | | | infinite loop [Rick Olson] Closes #2654 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed erroneous arg-size check in AC::Base.fragment_cache_store=. Closes ↵Jeremy Kemper2005-10-291-1/+1
| | | | | | #2650. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that render :text didn't interpolate instance variables (Closes #2629, ↵David Heinemeier Hansson2005-10-281-0/+1
| | | | | | #2626) [skaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix line number detection and escape RAILS_ROOT in backtrace RegexpNicholas Seckar2005-10-271-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Recognize ./#{RAILS_ROOT} as RAILS_ROOT in error tracesNicholas Seckar2005-10-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove fingerprinting from AR session store; fix bug in store. Closes #2612Nicholas Seckar2005-10-261-29/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper CSS color definition (closes #2334)David Heinemeier Hansson2005-10-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed docs (closes #2468)David Heinemeier Hansson2005-10-2610-36/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a reader for flash.now, so it's possible to do stuff like ↵David Heinemeier Hansson2005-10-261-0/+4
| | | | | | flash.now[:alert] ||= 'New if not set' (closes #2422) [Caio Chassot] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reset template variables after using render_to_string. Closes #2559Nicholas Seckar2005-10-251-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Take a different approach to keeping flash around when using components.Scott Barron2005-10-252-3/+11
| | | | | | | | | | | | | One that, you know, doesn't involve consuming every byte of free memory on the system. Closes #2589. References #2291. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expose the session model backing CGI::SessionJeremy Kemper2005-10-202-2/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Abbreviate RAILS_ROOT in tracesJamis Buck2005-10-191-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update error trace templatesNicholas Seckar2005-10-181-15/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the html-scanner to count children correctly, playing nicely with :only, ↵Jamis Buck2005-10-181-1/+5
| | | | | | fixes #2181 [patrick@lenz.sh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the more appropriate columns_hash to get the session data column size limit.Marcel Molina2005-10-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update/clean up AP documentation (rdoc)Jamis Buck2005-10-166-19/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing fileNicholas Seckar2005-10-161-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* added assert_valid to APTobias Lütke2005-10-161-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add line and file information to test process' get, post, etc methodsNicholas Seckar2005-10-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ARStore::Session to indicate that it should not be reloaded in dev modeJamis Buck2005-10-151-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up error pages by providing better backtracesNicholas Seckar2005-10-152-15/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* reasoning behind the seemingly duplicated methodMichael Koziarski2005-10-151-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add code and message to test response as per #2460Michael Koziarski2005-10-151-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise an exception if an attempt is made to insert more session data into ↵Marcel Molina2005-10-152-4/+31
| | | | | | the ActiveRecordStore data column than the column can hold. Closes #2234. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* action pack asserts don't spam you with unnecissary backtraces anymoreTobias Lütke2005-10-151-69/+96
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If a component redirects when called with render_component_as_string, render theScott Barron2005-10-151-1/+8
| | | | | | | | | redirected to action. Fixes #2327 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2604 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Take retry with breakpoint out until we fix itDavid Heinemeier Hansson2005-10-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Request#host_with_port to use the standard port when Rails is behind a ↵Nicholas Seckar2005-10-152-3/+19
| | | | | | proxy. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2596 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :locals support for render :inline #2463 [mdabney@cavoksolutions.com]David Heinemeier Hansson2005-10-131-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Unset the X-Requested-With header when using the xhr wrapper in functional ↵Sam Stephenson2005-10-131-1/+3
| | | | | | tests. Closes #2352. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Unescape paths before writing cache to file system. Closes #1877.Marcel Molina2005-10-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Speed improvement for session_options. #2287. [skaes@web.de]Jamis Buck2005-10-111-18/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make cacheing binary files friendly with Windows. Closes #1975.Marcel Molina2005-10-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_tag :children count appropriately. Closes #2181.Marcel Molina2005-10-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the documentation about render template/file saneDavid Heinemeier Hansson2005-10-031-6/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a nicer date formatDavid Heinemeier Hansson2005-10-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Testing should also use a default REQUEST_METHODDavid Heinemeier Hansson2005-09-292-30/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont log size of request, doesnt work well with procs, not that interestingDavid Heinemeier Hansson2005-09-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Log request method and response size / status codeDavid Heinemeier Hansson2005-09-282-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Undo condition change made in [2345] to prevent normal parameters arriving ↵Nicholas Seckar2005-09-271-1/+1
| | | | | | as StringIO. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ticket #2295 - Tolerate consecutive delimiters in query parametersJeremy Kemper2005-09-271-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Keep flash after component is rendered. Closes #2291.Scott Barron2005-09-271-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3573@asus: jeremy | 2005-09-26 11:38:44 -0700Jeremy Kemper2005-09-261-1/+22
| | | | | | | | | | | | | | | Ticket 1507 - IE file uploads give the filename as a full Windows path, but Ruby on UNIX doesn't know how to File.basename('C:\\blah\blah.foo'). r3574@asus: jeremy | 2005-09-26 14:32:11 -0700 Get rid of constant redefine warning. r3575@asus: jeremy | 2005-09-26 14:33:07 -0700 Override the file upload's original_filename singleton method in CGIMethods.get_typed_value. r3576@asus: jeremy | 2005-09-26 14:33:49 -0700 Unit test overridden original_filename against normal filenames and full Windows paths. r3577@asus: jeremy | 2005-09-26 14:33:57 -0700 Update change log. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de