aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
...
* Make assertions in integration sessions proxy to the test instance (only for ↵Jamis Buck2006-03-101-0/+3
| | | | | | sessions created via open_session) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make sure nil @session doesn't mess up wsod stacktracesJamis Buck2006-03-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to latest script.aculo.us trunk, fixes possible issue with ↵Thomas Fuchs2006-03-091-3/+6
| | | | | | Effect.Appear on IE git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move methods from TestResponse into a module, so they can be shared with ↵Jamis Buck2006-03-092-1/+12
| | | | | | response objects in integration tests. (This allows standard functional test assertions to be used in integration tests, like assert_response and assert_template.) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration test's url_for now runs in the context of the last request (if ↵Tobias Lütke2006-03-082-10/+7
| | | | | | any) so after post /products/show/1 url_for :action => 'new' will yield /product/new git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with unloaded ARStore sessions being loaded when they are ↵Jamis Buck2006-03-082-9/+36
| | | | | | garbage collected, causing problems if there were AR objects in the session. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Re-added mixed-in helper methods for the JavascriptGenerator. Moved ↵Rick Olson2006-03-084-287/+342
| | | | | | JavascriptGenerators methods to a module that is mixed in after the helpers are added. Also fixed that variables set in the enumeration methods like #collect are set correctly. Documentation added for the enumeration methods [Rick Olson]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove explicit Builder requireRick Olson2006-03-081-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML ↵David Heinemeier Hansson2006-03-085-580/+0
| | | | | | from basic structures [DHH] Moved Jim Weirich's wonderful Builder from Action Pack to Active Support (it's simply too useful to be stuck in AP) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make integration testing not interfere with command-line regex test filtersJamis Buck2006-03-071-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make IntegrationTest refer to superclass properties using copy-on-writeJamis Buck2006-03-071-0/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper options for XmlSimpleDavid Heinemeier Hansson2006-03-072-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* more integration tweaksJamis Buck2006-03-071-8/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* XmlSimple _should_ be the default since XmlNode is not compatible with ↵David Heinemeier Hansson2006-03-073-26/+30
| | | | | | regular parameters -- also known as Why Did My Etech Demo Not Work? [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A few minor tweaks to the integration testing stuffJamis Buck2006-03-071-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow method chaining in RJS elements [Rick Olson]David Heinemeier Hansson2006-03-063-2/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype for beta gemsSam Stephenson2006-03-061-48/+55
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixesDavid Heinemeier Hansson2006-03-052-5/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionController::Base.param_parsers now accept symbols. currently supported ↵Tobias Lütke2006-03-053-11/+36
| | | | | | are :xml_node, :xml_simple and :yaml git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new infrastructure support for REST webservices.Tobias Lütke2006-03-0510-46/+345
| | | | | | | | | | | | | | | | | By default application/xml posts are handled by creating a XmlNode object with the same name as the root element of the submitted xml. M$ ActionController::Base.param_parsers['application/atom+xml'] = Proc.new do |data| node = REXML::Document.new(post) { node.root.name => node.root } end XmlSimple and Yaml web services were retired, ActionController::Base.param_parsers carries an example which shows how to get this functio$ request.[formatted_post?, xml_post?, yaml_post? and post_format] were all deprecated in favor of request.content_type [Tobias Luetke] Closes #4081 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed tests (closes #4087) [Rick Olson]David Heinemeier Hansson2006-03-051-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed tests (closes #4087) [Rick Olson]David Heinemeier Hansson2006-03-052-5/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow RJS enum values to be passed to visual_effect() and other ↵David Heinemeier Hansson2006-03-055-68/+80
| | | | | | scriptaculous helpers #4080 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of that. PStore doesnt support suffix :(David Heinemeier Hansson2006-03-041-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of that. PStore doesnt support suffix :(David Heinemeier Hansson2006-03-042-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* CHANGED DEFAILT: File-based sessions now have a suffix of ".rails_session" ↵David Heinemeier Hansson2006-03-042-2/+4
| | | | | | instead of a prefix called "ruby_sess." [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Effect.Appear in effects.js to work with floats in Safari (closes ↵David Heinemeier Hansson2006-03-043-2/+16
| | | | | | #3524, #3813, #3044) [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RJS now does enumerations, baby! (closes #3876) [Rick Olson]David Heinemeier Hansson2006-03-032-11/+201
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that default image extension was not appended when using a full URL ↵David Heinemeier Hansson2006-03-023-2/+5
| | | | | | with AssetTagHelper#image_tag (closes #4032, #3728) [rubyonrails@beautifulpixel.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that page caching will only happen if the response code is less than ↵David Heinemeier Hansson2006-03-022-1/+3
| | | | | | 400 (closes #4033) [g.bucher@teti.ch] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* restore elided TestProcess#assigns methodJamis Buck2006-03-011-6/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3725 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make TestProcess methods public for access via Integration::Session. Make ↵Jamis Buck2006-03-012-115/+112
| | | | | | return values from some of the Integration::Session methods sane. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActionController::IntegrationTest to allow high-level testing of the way ↵Jamis Buck2006-02-282-0/+425
| | | | | | the controllers and routes all work together git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support to AssetTagHelper#javascript_include_tag for having :defaults ↵David Heinemeier Hansson2006-02-284-10/+13
| | | | | | appear anywhere in the list, so you can now make one call ala javascript_include_tag(:defaults, "my_scripts") or javascript_include_tag("my_scripts", :defaults) depending on how you want the load order (closes #3506) [Bob Silva] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for visual effects scoped queues to the visual_effect helper ↵Thomas Fuchs2006-02-273-1/+14
| | | | | | #3530 [Abdur-Rahman Advany] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added .rxml (and any non-rhtml template, really) supportfor ↵David Heinemeier Hansson2006-02-266-13/+92
| | | | | | CaptureHelper#content_for and CaptureHelper#capture #3287 [Brian Takita] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove ::Controllers related cruft; fix AP testsNicholas Seckar2006-02-264-57/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script.aculo.us drag and drop helpers to RJS [Thomas Fuchs]Thomas Fuchs2006-02-264-7/+71
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed form_for regression (closes #3962) [t.lucas@toolmantim.com]David Heinemeier Hansson2006-02-262-1/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed testsDavid Heinemeier Hansson2006-02-261-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* mail_to shouldnt include language attribute in script tag #3364 ↵David Heinemeier Hansson2006-02-261-1/+1
| | | | | | [donald.piret@synergetek.be] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that form elements would strip the trailing [] from the first ↵David Heinemeier Hansson2006-02-263-1/+10
| | | | | | parameter (closes #3545) [ruby@bobsilva.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The image_tag helper is not converting the options hash to symbols (closes ↵David Heinemeier Hansson2006-02-262-1/+3
| | | | | | #3615) [agkr@pobox.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed rdoc.options use all over (closes #3639) [andy@tinnedfruit.org]David Heinemeier Hansson2006-02-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Check NameErrors and re-raise if they do not match the expected constantNicholas Seckar2006-02-222-3/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update script.aculo.us to V1.5.3 [Thomas Fuchs]Thomas Fuchs2006-02-224-31/+87
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added various InPlaceEditor options, #3746, #3891, #3896, #3906Thomas Fuchs2006-02-213-6/+54
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the request method would be sticky in tests (closes #3849) ↵David Heinemeier Hansson2006-02-202-2/+9
| | | | | | [lars@pinds.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :count option to pagination that'll make it possible for the ↵David Heinemeier Hansson2006-02-203-3/+27
| | | | | | ActiveRecord::Base.count call to using something else than * for the count. Especially important for count queries using DISTINCT #3839 [skaes]. Added :select option to Base.count that'll allow you to select something else than * to be counted on. Especially important for count queries using DISTINCT (closes #3839) [skaes]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure backwards compatibility with symbolized action names for ↵David Heinemeier Hansson2006-02-192-2/+11
| | | | | | render_action (closes #3869) [anna@wota.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de