aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added Hash.create_from_xml(string) which will create a hash from a XML ↵David Heinemeier Hansson2006-06-167-143/+236
| | | | | | string and even typecast if possible [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Jim Weirich's excellent FlexMock class to vendor (Copyright 2003, 2004 ↵David Heinemeier Hansson2006-06-162-0/+86
| | | | | | by Jim Weirich (jim@weriichhouse.org)) -- it's not automatically required, though, so require 'flexmock' is still necessary [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add passing test to make sure unhandled requests don't load unnecessary ↵Rick Olson2006-06-161-6/+23
| | | | | | classes. Closed #5408. [nkriege@hotmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/plugin so it doesn't barf on invalid URLs [Rick]Rick Olson2006-06-122-6/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]Rick Olson2006-06-112-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug with 'script/plugin install' so it reports unknown plugin names ↵Rick Olson2006-06-092-1/+3
| | | | | | correctly. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix strip_links so that it doesn't hang on multi-line acronym tagsJamis Buck2006-06-082-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove problematic control chars in rescue template. (closes #5316)Jamis Buck2006-06-082-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure passed routing options are not mutated by routing code. (closes #5314)Jamis Buck2006-06-073-7/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Do some path normalization to prevent the possible_controllers list from ↵Jamis Buck2006-06-072-6/+43
| | | | | | containing invalid entries git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure named routes are never generated relative to some containing moduleJamis Buck2006-06-062-2/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve parameter expiry handling to fix sticky-id issue. Add a more ↵Jamis Buck2006-06-062-9/+64
| | | | | | informative Route#to_s method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include uninstall.rb (closes #5003)David Heinemeier Hansson2006-06-061-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove dependency on Pathname in new routesJamis Buck2006-06-051-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure changing the controller from foo/bar to bing/bang does not change ↵Jamis Buck2006-06-053-1/+12
| | | | | | relative to foo. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use explicit delegation instead of method aliasing for AR::Base.to_param -> ↵Jamis Buck2006-06-052-1/+6
| | | | | | AR::Base.id. (closes #5299) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Escape the entire path before trying to recognize it (closes #3671)Jamis Buck2006-06-053-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure :id and friends are properly unescaped (closes #5275).Jamis Buck2006-06-053-1/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure regexp chunks are grouped when the segment has a regexp constraint ↵Jamis Buck2006-06-052-1/+24
| | | | | | so that captures are counted correctly (closes #5267) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4434 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix documentation for with_routing to reflect new reality (closes #5281)Jamis Buck2006-06-052-7/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added binary formattingDavid Heinemeier Hansson2006-06-041-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored ActiveRecord::Base.to_xml to become a delegate for XmlSerializer, ↵David Heinemeier Hansson2006-06-045-275/+325
| | | | | | which restores sanity to the mega method. This refactoring also reinstates the opinions that type="string" is redundant and ugly and nil-differentiation is not a concern of serialization [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rolled back broken aliasingDavid Heinemeier Hansson2006-06-031-10/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Module#alias_method_chain should work with both foo? foo! and foo ↵David Heinemeier Hansson2006-06-033-10/+40
| | | | | | at the same time (closes #4954) [anna@wota.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for inflections (closes #5013) [m.stienstra@fngtps.com]David Heinemeier Hansson2006-06-031-3/+65
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added uninstall.rb hook to plugin handling, such that plugins have a way of ↵David Heinemeier Hansson2006-06-033-0/+9
| | | | | | removing assets and other artifacts on removal (closes #5003) [takiuchi@drecom.co.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Create temporary dirs relative to RAILS_ROOT when running script/server ↵David Heinemeier Hansson2006-06-032-1/+3
| | | | | | #5014 [elliot@townx.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added simple hash conditions to find that'll just convert hash to an ↵David Heinemeier Hansson2006-06-033-11/+81
| | | | | | AND-based condition string (closes #5143) [hcatlin@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed issues with BLOB limits, charsets, and booleans for Firebird (closes ↵David Heinemeier Hansson2006-06-034-21/+25
| | | | | | #5194, #5191, #5189) [kennethkunz@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* For Firebird adapterDavid Heinemeier Hansson2006-06-032-0/+60
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed usage of :limit and with_scope when the association in scope is a 1:m ↵David Heinemeier Hansson2006-06-033-1/+11
| | | | | | (closes #5208) [alex@purefiction.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added disconnect! to Firebird adapter (closes #5210) [kennethkunz@gmail.com]David Heinemeier Hansson2006-06-031-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make more Firebird tests pass (closes #5188) [kennethkunz@gmail.com]David Heinemeier Hansson2006-06-036-6/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed migration trouble with SQLite when NOT NULL is used in the new ↵David Heinemeier Hansson2006-06-033-3/+7
| | | | | | definition (closes #5215) [greg@lapcominc.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problems with eager loading and counting on SQL Server (closed #5212) ↵David Heinemeier Hansson2006-06-032-5/+8
| | | | | | [kajism@yahoo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4418 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that count distinct should use the selected column even when using ↵David Heinemeier Hansson2006-06-033-1/+8
| | | | | | :include (closes #5251) [anna@wota.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that has_many.create ended up with duplicate objects (closes #5250) ↵David Heinemeier Hansson2006-06-032-1/+9
| | | | | | [daniel@nouvelles-solutions.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that :includes merged from with_scope won't cause the same association ↵David Heinemeier Hansson2006-06-032-1/+4
| | | | | | to be loaded more than once if repetition occurs in the clauses (closes #5253) [alex@purefiction.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Uncry thyselfJeremy Kemper2006-06-031-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4414 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* to_xml fixes, features, and speedup. Closes #4989.Jeremy Kemper2006-06-039-72/+320
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fixtures :accounts for base_test. Closes #5268.Jeremy Kemper2006-06-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add OrderedHash#valuesSam Stephenson2006-06-023-1/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rewind readable CGI params so others may reread them (such as CGI::Session ↵Jeremy Kemper2006-06-023-2/+14
| | | | | | when passing the session id in a multipart form). Closes #210. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Finish custom handling [DHH]David Heinemeier Hansson2006-06-022-6/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make new mime types first class [DHH]David Heinemeier Hansson2006-06-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make new mime types first class [DHH]David Heinemeier Hansson2006-06-023-9/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Mime::TEXT (text/plain) and Mime::ICS (text/calendar) as new default ↵David Heinemeier Hansson2006-06-022-0/+7
| | | | | | types [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Mime::Type.register(string, symbol, synonyms = []) for adding new ↵David Heinemeier Hansson2006-06-023-4/+20
| | | | | | custom mime types [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for Mime objects in render :content_type option [DHH]David Heinemeier Hansson2006-06-023-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Excise the headache-prone syswrite in send_file.Jeremy Kemper2006-06-021-12/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de