aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don'tt abort rake when rendering the _trace.rhtml templateNicholas Seckar2006-03-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added better support for using the same actions to output for different ↵David Heinemeier Hansson2006-03-1111-13/+250
| | | | | | sources depending on the Accept header [DHH] Added Base#render(:xml => xml) that works just like Base#render(:text => text), but sets the content-type to text/xml and the charset to UTF-8 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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
* Passing commentDavid Heinemeier Hansson2006-03-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3835 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
* tag! is nicer than __send__David Heinemeier Hansson2006-03-102-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added options to control the :only/:except for included associations on ↵David Heinemeier Hansson2006-03-102-7/+22
| | | | | | Base#to_xml [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added association inclusion in to_xml [DHH]David Heinemeier Hansson2006-03-103-15/+111
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Implemented nested to_xml and named elements for array xmling [DHH]David Heinemeier Hansson2006-03-094-15/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed to_xml across the board to use nice indention, better skip_attributes ↵David Heinemeier Hansson2006-03-098-32/+153
| | | | | | workings, no type on strings, and cleaned tests [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix counter cache setting in belongs-to proxyJamis Buck2006-03-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add suppress_messages to migrations, to temporarily turn off verbose messagesJamis Buck2006-03-091-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* a few more tests for the custom counter_cache naming codeJamis Buck2006-03-092-18/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow counter_cache to accept a column nameJamis Buck2006-03-095-14/+42
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to latest script.aculo.us trunk, fixes possible issue with ↵Thomas Fuchs2006-03-093-7/+14
| | | | | | Effect.Appear on IE git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* format fix for locking [Michael Koziarski]Michael Koziarski2006-03-093-5/+10
| | | | | | | Add documentation for :dependent on associations. [robby@planetargon.com] Closes #4151 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a note to the documentation for the Date related Numeric extensions to ↵Michael Koziarski2006-03-092-1/+9
| | | | | | | | | indicate that they're approximations and shouldn't be used for critical calculations. [Koz]. Closes #4148. References #4146 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3821 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
* move vendor inside lib so that rake freeze_edge worksRick Olson2006-03-086-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3818 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
* reverted #to_sentence to use red, green, and blue styleTobias Lütke2006-03-082-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the 3rd arg optional for #failsafe_responseRick Olson2006-03-081-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3815 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-0816-5/+126
| | | | | | 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
* Added a backtrace to the evil WSOD (White Screen of Death). Closes #4073. ↵Rick Olson2006-03-072-2/+6
| | | | | | TODO: Clearer exceptions [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3809 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 set_fixture_class to take Classes instead of strings for a class in a ↵Rick Olson2006-03-063-8/+20
| | | | | | module. Raise FixtureClassNotFound if a fixture can't load. [Rick Olson] closes #4095 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* forgot to commit the fixed test case! (yea right)Tobias Lütke2006-03-061-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* changed default of Array#to_sentence to use one, two and three notation ( ↵Tobias Lütke2006-03-061-2/+2
| | | | | | skip_last_comma => true ) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow method chaining in RJS elements [Rick Olson]David Heinemeier Hansson2006-03-064-2/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype for beta gemsSam Stephenson2006-03-062-96/+110
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix quoting of inheritance column for STI eager loading #4098 [Jonathan ↵Rick Olson2006-03-062-7/+9
| | | | | | Viney <jonathan@bluewire.net.nz>] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* slight change to eager associations table aliasing: use class_reflection, ↵Rick Olson2006-03-062-3/+3
| | | | | | like 'post_comments' or 'tree_children' git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* added assert_queries for the AR test suiteRick Olson2006-03-052-2/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tracking of database and framework versions in script/about #4088 ↵David Heinemeier Hansson2006-03-053-5/+28
| | | | | | [charles.gerungan@gmail.com/Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixesDavid Heinemeier Hansson2006-03-053-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence the migration messages when importing the schema for testsJamis Buck2006-03-051-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixesDavid Heinemeier Hansson2006-03-051-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont mkdir for each framework now that theyre checked out in their entiretyDavid Heinemeier Hansson2006-03-051-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3779 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 eager loading problems with single-table inheritance [Rick Olson] ↵David Heinemeier Hansson2006-03-0510-63/+144
| | | | | | Added smarter table aliasing for eager associations for multiple self joins [Rick Olson] (closes #3580) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont generate migration when doing scaffoldingDavid Heinemeier Hansson2006-03-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de