aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* assert_deprecated matches any warning caught in blockJeremy Kemper2006-09-152-3/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* alias_method_chain yields method target and punctuation to simplify wrapper ↵Jeremy Kemper2006-09-153-7/+24
| | | | | | method definition. Used by the deprecate module method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove implicit primary actions - more pain than gain. test collection ↵Jeremy Kemper2006-09-142-32/+36
| | | | | | actions for other http methods. strip whitespace. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add chained replace/update support for assert_select_rjs [Rick Olson]Rick Olson2006-09-143-10/+67
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mock Time.now for more accurate Touch mixin tests. Closes #6213.Jeremy Kemper2006-09-142-10/+46
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* session_migration generator adds an index on updated_at. Closes #6207.Jeremy Kemper2006-09-132-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve yaml fixtures error reporting. Closes #6205.Jeremy Kemper2006-09-132-13/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/server creates the tmp/pids directory. Closes #6204.Jeremy Kemper2006-09-132-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* All verbs should use formatted urls [DHH]David Heinemeier Hansson2006-09-131-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that formatted routes for all verbs are created. Still needs to ↵David Heinemeier Hansson2006-09-132-21/+24
| | | | | | resolve two failing tests after this refactoring [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load helpers in alphabetical order for consistency. Resolve cyclic ↵Jeremy Kemper2006-09-123-2/+5
| | | | | | javascript_helper dependency. Closes #6132, closes #6178. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip params with empty names, such as the &=Save query string from <input ↵Jeremy Kemper2006-09-123-3/+15
| | | | | | type=submit/>. Closes #2569. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* alias_method_chain works with accessor= methods also. Closes #6153.Jeremy Kemper2006-09-123-10/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/console --sandbox for internal transactions changes. Closes #5738.Jeremy Kemper2006-09-122-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test svnDavid Heinemeier Hansson2006-09-121-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5087 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_tag so that :content => "foo" does not match substrings, but only ↵Jamis Buck2006-09-103-3/+12
| | | | | | exact strings. Use :content => /foo/ to match substrings. closes #2799 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add test case to test attribute matching by assert_tagJamis Buck2006-09-091-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make mime version default to 1.0. closes #2323Jamis Buck2006-09-095-47/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure quoted-printable text is decoded correctly when only portions of ↵Jamis Buck2006-09-094-16/+42
| | | | | | the text are encoded. closes #3154. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure DOS newlines in quoted-printable text are normalized to unix ↵Jamis Buck2006-09-094-0/+24
| | | | | | newlines before unquoting. closes $166 and #4452 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimistic locking: raise ActiveResource::ResourceConflict on 409 Conflict ↵Jeremy Kemper2006-09-094-6/+26
| | | | | | response. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split Form.serialize into Form.serialize and Form.serializeElements. The ↵David Heinemeier Hansson2006-09-082-4/+12
| | | | | | latter can be used stand-alone to serialize an array of elements you pass in, instead of the entire form [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We cant make MySQL 5 happy if it means making SQLite and PostgreSQL cry. So ↵David Heinemeier Hansson2006-09-084-5/+3
| | | | | | currently MySQL 5 is not fully supported for Rails when youre using eager loading (closes #6133, #6135). I have contacted MySQL to make them fix http://bugs.mysql.com/bug.php?id=13551 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Since to_sing, we need to check for empty stringDavid Heinemeier Hansson2006-09-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added parentheses around FROM clauses generated by Base and associations ↵David Heinemeier Hansson2006-09-083-2/+4
| | | | | | since MySQL 5 claim that to be the standard (and will screw up joins if its not there), see http://bugs.mysql.com/bug.php?id=13551 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update descriptive messages for exceptions thrown by cgi_methods. Closes #6103.Jeremy Kemper2006-09-082-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Basic validation support [Rick Olson]Rick Olson2006-09-086-3/+184
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rollback [4917]. Closes #785.Jeremy Kemper2006-09-073-6/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add descriptive messages to the exceptions thrown by cgi_methods. Closes #6091.Nicholas Seckar2006-09-072-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Too much dotwareNicholas Seckar2006-09-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the uncanny default of adding all app/models/*/ directories to the ↵Nicholas Seckar2006-09-072-6/+21
| | | | | | load path. References #6031. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix loop_on_multiple_args to work, again (not my day), fixes #6078Thomas Fuchs2006-09-071-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ahem, now for realThomas Fuchs2006-09-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix a warning in prototype_helper_test, fixes #6077Thomas Fuchs2006-09-071-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update JavaScriptGenerator#show/hide/toggle/remove to new Prototype syntax ↵Thomas Fuchs2006-09-073-9/+26
| | | | | | for multiple ids, fixes #6068 [petermichaux@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update UrlWriter to support :only_path.Nicholas Seckar2006-09-063-8/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix loadable_constants_for_path to handle load paths that do not end with a ↵Nicholas Seckar2006-09-063-8/+16
| | | | | | slash. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get symbol definitions of methods converted to strings [DHH]David Heinemeier Hansson2006-09-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* added passing test for using partials with an xml builderRick Olson2006-09-063-0/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of locals hash as it caused trouble with Builder, see ticket for moreDavid Heinemeier Hansson2006-09-063-34/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavaScriptHelper#link_to_function and ↵David Heinemeier Hansson2006-09-063-2/+32
| | | | | | JavaScriptHelper#button_to_function to have the script argument be optional [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix logic error in determining what was loaded by a given file. Closes #6039.Nicholas Seckar2006-09-053-1/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Still need the regular assertionsDavid Heinemeier Hansson2006-09-051-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Equate Kernel.const_missing with Object.const_missing. Fixes #5988.Nicholas Seckar2006-09-053-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* caller is necessary for proper trace in deprecationDavid Heinemeier Hansson2006-09-052-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better bundling of new assertions and make integration tests work againDavid Heinemeier Hansson2006-09-052-15/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of new_record? to new? transformation as it would screw up ↵David Heinemeier Hansson2006-09-0518-124/+136
| | | | | | existing models that did boolean calls on "new" attributes [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecated ActiveRecord::Base.new_record? in favor of ↵David Heinemeier Hansson2006-09-0518-136/+124
| | | | | | ActiveRecord::Base.new? (old version still works until Rails 2.0) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper description syntax for test tasks (closes #5308)David Heinemeier Hansson2006-09-051-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to script.aculo.us 1.6.3 [Thomas Fuchs]Thomas Fuchs2006-09-058-110/+240
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5015 5ecf4fe2-1ee6-0310-87b1-e25e094e27de