aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix PStore typo. Closes #7900.Jeremy Kemper2007-03-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow configuration of the default action cache path for #caches_action ↵Rick Olson2007-03-223-2/+66
| | | | | | calls. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix nil error for requests with empty PATH_INFO header such as those which ↵Tobias Lütke2007-03-191-1/+1
| | | | | | are send by the ScanAlert spider git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: binary escaping works with ='u'. Closes #7862.Jeremy Kemper2007-03-192-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Never return nil from CGI#read_query for compatibility with plain CGI query ↵Jeremy Kemper2007-03-181-1/+1
| | | | | | params parser. Closes #7581. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove components from controller paths. Canonicalize ↵Jeremy Kemper2007-03-184-30/+46
| | | | | | RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. Closes #6755. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash#to_xml supports YAML attributes; ActiveRecord::Base#to_xml support ↵Jeremy Kemper2007-03-187-13/+32
| | | | | | serialized attributes. Closes #7502. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON ↵Sam Stephenson2007-03-1824-166/+265
| | | | | | decoding by way of Syck with ActiveSupport::JSON.decode(json_string). Prevent hash keys that are JavaScript reserved words from being unquoted during encoding. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix method visibility bug uncovered by #7854.Jeremy Kemper2007-03-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* alias_method_chain preserves the original method's visibility. Closes #7854.Jeremy Kemper2007-03-183-2/+61
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Base.update_all :order and :limit options. Useful for MySQL updates that ↵Jeremy Kemper2007-03-173-2/+16
| | | | | | must be ordered to avoid violating unique constraints. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove deprecated object transactions. People relying on this functionality ↵Michael Koziarski2007-03-164-752/+6
| | | | | | should install the object_transactions plugin at http://code.bitsweat.net/svn/object_transactions. Closes #5637 [Koz, Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove special cases for BigDecimal and SQLite, tests pass without them and ↵Michael Koziarski2007-03-161-9/+3
| | | | | | | | | fail with them. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [6430] since the test is faulty. References #7837, closes #7842.Jeremy Kemper2007-03-163-13/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in migration test.Jeremy Kemper2007-03-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6434 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: remove DateTime -> Time downcast. Bypass the DateTime migration ↵Jeremy Kemper2007-03-163-14/+8
| | | | | | test on 64-bit platforms since it may be a Time. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance: patch cgi/session/pstore to require digest/md5 once rather than ↵Jeremy Kemper2007-03-163-0/+33
| | | | | | per #initialize. Closes #7583. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Undeprecate redirect_to with Hash argument and additional url_for ↵Jeremy Kemper2007-03-163-1/+13
| | | | | | parameters. Closes #7837. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin ↵Nicholas Seckar2007-03-142-1/+4
| | | | | | default of 'mysql' to be overridden. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix changelog lineNicholas Seckar2007-03-141-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Dependencies to ignore constants inherited from ancestors. Closes #6951.Nicholas Seckar2007-03-145-3/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie session store: ensure that new sessions doesn't reuse data from a ↵Jeremy Kemper2007-03-143-0/+21
| | | | | | deleted session in the same request. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: verification with :redirect_to => :named_route shouldn't be ↵Jeremy Kemper2007-03-143-0/+18
| | | | | | deprecated. Closes #7525. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* find_or_create_by_* takes a hash so you can create with more attributes than ↵Jeremy Kemper2007-03-143-2/+35
| | | | | | are in the method name. Closes #7368. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cookie session store: raise ArgumentError when :session_key is blank.Jeremy Kemper2007-03-133-1/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6415 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure with_scope takes both :select and :joins into account when setting ↵Michael Koziarski2007-03-133-1/+13
| | | | | | :readonly. Allows you to save records you retrieve using finders on a has_many :through associations. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated url_for(:symbol, *args) and ↵Jeremy Kemper2007-03-135-58/+8
| | | | | | redirect_to(:symbol, *args) controller methods. Use named routes instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* trim the fatRick Olson2007-03-131-44/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated update_element_function, start_form_tag, and ↵Jeremy Kemper2007-03-136-122/+4
| | | | | | end_form_tag. Use RJS and form_tag instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow a polymorphic :source for has_many :through associations. Closes ↵Rick Olson2007-03-136-49/+143
| | | | | | #7143 [protocool] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated human_size helper alias. Use ↵Jeremy Kemper2007-03-133-19/+10
| | | | | | number_to_human_size instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* forgot to add tests for #7044Rick Olson2007-03-131-0/+145
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated link_to_image and link_image_to methods. Use ↵Jeremy Kemper2007-03-133-121/+66
| | | | | | link_to(image_path(...), url). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: privatize deprecated render_partial and ↵Jeremy Kemper2007-03-134-50/+47
| | | | | | render_partial_collection methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove toplevel components directory and ↵Jeremy Kemper2007-03-133-64/+25
| | | | | | uses_component_template_root. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated dependency methods.Jeremy Kemper2007-03-133-68/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated request methods.Jeremy Kemper2007-03-134-45/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated redirect methods.Jeremy Kemper2007-03-134-20/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove deprecated instance variables.Jeremy Kemper2007-03-1335-142/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Credit Dan by name rather than nick.Jeremy Kemper2007-03-132-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Consistent public/protected/private visibility for chained methods. Closes ↵Jeremy Kemper2007-03-139-119/+131
| | | | | | #7813. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix to_datetime test broken by DST change. Closes #7797.Jeremy Kemper2007-03-121-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: fix quoted primary keys and datetime overflow. Closes #7798.Jeremy Kemper2007-03-122-4/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adjust test for unsorted Array#to_query. References #7756.Jeremy Kemper2007-03-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow array and hash query parameters. Closes #7756.Jeremy Kemper2007-03-113-19/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Array#to_query preserves its ordering. References #7756.Jeremy Kemper2007-03-113-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* form_options_helper refactoring for clarity. Closes #7787.Jeremy Kemper2007-03-111-17/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6377 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo, closes #7788.Jeremy Kemper2007-03-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix @logger.debug? conditional considering @logger may be nil.Jeremy Kemper2007-03-111-14/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give time_ago_in_words test some DST slop.Jeremy Kemper2007-03-111-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de