aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cache fixture model class. References #10677 [nwilmes]Jeremy Kemper2008-01-051-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_response failures include the exception message. Closes #10688.Jeremy Kemper2008-01-053-1/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move model dependency to the end of the scaffold generator manifest. Closes ↵Jeremy Kemper2008-01-051-2/+2
| | | | | | #10696 [drnic] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document that eager loading doesn't work with polymorphic associations. ↵Jeremy Kemper2008-01-041-0/+17
| | | | | | Closes #10610 [Xavier Noria] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8556 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9: Module#local_constants can now just use constants(false). Closes ↵Jeremy Kemper2008-01-041-12/+21
| | | | | | #10648 [Xavier Noria] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* pdate_all ignores scoped :order and :limit, so post.comments.update_all ↵Jeremy Kemper2008-01-043-2/+11
| | | | | | doesn't try to include the comment order in the update statement. Closes #10686. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: test multibyte chars proxy for 1.8 onlyJeremy Kemper2008-01-041-12/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved the caching stores from ActionController::Caching::Fragments::* to ↵David Heinemeier Hansson2008-01-0330-788/+1882
| | | | | | ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [DHH] Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [DHH] All fragment cache keys are now by default prefixed with the 'views/' namespace [DHH] Added ActiveRecord::Base.cache_key to make it easier to cache Active Records in combination with the new ActiveSupport::Cache::* libraries [DHH] Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Luetke] Included MemCache-Client to make the improved ActiveSupport::Cache::MemCacheStore work out of the box [Bob Cottrell, Eric Hodel] Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9: Forwards compatibility change for fixtures and the new CSV module ↵Michael Koziarski2008-01-032-1/+3
| | | | | | [JEG2] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored ActionController::Verification and improved docs (closes #10681) ↵David Heinemeier Hansson2008-01-031-57/+73
| | | | | | [jamesh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made fragment caching in views work for rjs and builder as well (closes ↵David Heinemeier Hansson2008-01-034-13/+187
| | | | | | #6642) [zsombor] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed rendering of partials with layout when done from site layout (closes ↵David Heinemeier Hansson2008-01-035-6/+45
| | | | | | #9209) [antramm] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: don't use obsolete ParseDateJeremy Kemper2008-01-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove toplevel rubyforgepublisher require for new RakeJeremy Kemper2008-01-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: special-case String access methods to not depend on #charsJeremy Kemper2008-01-031-48/+72
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that you don't have to call super in ActionMailer::TestCase#setup ↵David Heinemeier Hansson2008-01-033-1/+37
| | | | | | (closes #10406) [jamesgolick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor check for local databases (closes #10539) [parcelbrat]David Heinemeier Hansson2008-01-031-11/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added by parameter to increment, decrement, and their bang varieties so you ↵David Heinemeier Hansson2008-01-033-10/+30
| | | | | | can do player1.increment!(:points, 5) (closes #10542) [Sam] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed String#titleize to work for strings with 's too (closes #10571) [trek]David Heinemeier Hansson2008-01-033-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that rails:update is run when you do rails:freeze:edge to ensure you ↵David Heinemeier Hansson2008-01-032-0/+5
| | | | | | also get the latest JS and config files (closes #10565) [jeff] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimize ActiveRecord::Base#exists? to use #select_all instead of #find. ↵Rick Olson2008-01-022-2/+10
| | | | | | Closes #10605 [jamesh, fcheung, protocool] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix atom_feed_helper to comply with the atom spec. Closes #10672 [xaviershay]Rick Olson2008-01-023-16/+77
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix small documentation typo. Closes #10670 [l.guidi]Rick Olson2008-01-022-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct indentation in a couple spots. Closes #10671 [l.guidi, rick]Rick Olson2008-01-023-22/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix failing date helper test. Closes #10664 [Wesley Moxam]Jeremy Kemper2008-01-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* find_or_create_resource_for handles module nesting. Closes #10646.Jeremy Kemper2008-01-023-8/+54
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: fix two failing tests since String#each has been removed. ↵Jeremy Kemper2008-01-022-2/+4
| | | | | | Closes #10655. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument ↵Jeremy Kemper2008-01-024-2/+18
| | | | | | error. Closes #10594. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:sessions:clear task uses session_table_name method. Closes #10631 [Cheah ↵Jeremy Kemper2008-01-021-3/+1
| | | | | | Chu Yeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct Hash#assert_valid_keys docs. Closes #10621 [Cheah Chu Yeow, blackanger]Jeremy Kemper2008-01-021-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: db:drop:all doesn't fail silently if the database is already open. ↵Jeremy Kemper2008-01-022-1/+3
| | | | | | Closes #10577. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix invalid time test. Closes #10632 [Dirkjan Bussink]Jeremy Kemper2008-01-023-10/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed the implementation of Enumerable#group_by to use a double array ↵David Heinemeier Hansson2007-12-312-2/+9
| | | | | | approach instead of a hash such that the insert order is honored [DHH/Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't make new_mongrel server default yetJeremy Kemper2007-12-291-6/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: introduce ActiveSupport::FrozenObjectError normalize ↵Jeremy Kemper2007-12-295-9/+21
| | | | | | TypeError vs RuntimeError handling. Closes #10645 [Frederick Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixup mocha tests for 0.5.6. Closes #10602 [murphy, mikong]Jeremy Kemper2007-12-291-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: workaround module_eval bug. Closes #10641 [Frederick Cheung]Jeremy Kemper2007-12-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that auto_link looks for ='s in url paths (Amazon urls have them). ↵Rick Olson2007-12-283-1/+4
| | | | | | Closes #10640 [bgreenlee] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove multiple enumerations from ActiveSupport::JSON#convert_json_to_yaml ↵Rick Olson2007-12-282-5/+10
| | | | | | when dealing with date/time values. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't unnecessarily load has_many associations in after_update callbacks. ↵Rick Olson2007-12-283-6/+42
| | | | | | Closes #6822 [stopdropandrew, canadaduane] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow setting ActiveResource::Base#format before #site. [rick]Rick Olson2007-12-283-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support agnostic formats when calling custom methods. Closes #10635 ↵Rick Olson2007-12-284-4/+40
| | | | | | [joerichsen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* inherit from the new ActiveSupport::BlankSlate classRick Olson2007-12-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce ActiveSupport::BasicObject which bridges Builder::BlankSlate and ↵Jeremy Kemper2007-12-282-9/+14
| | | | | | Ruby 1.9 BasicObject. Closes #10634 [Frederick Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick ↵Jeremy Kemper2007-12-287-4/+13
| | | | | | Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that test case setup is run even if overridden. Closes #10382.Jeremy Kemper2007-12-283-4/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use extract_options! rather than Hash test + pop. Closes #10628 [ssoroka]Jeremy Kemper2007-12-282-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: calculations don't assume array implementation of ordered ↵Jeremy Kemper2007-12-271-1/+2
| | | | | | hash. References #1689 [Frederick Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: javascript proxy. References #1689 [Frederick Cheung]Jeremy Kemper2007-12-271-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: file uploads. References #1689 [Frederick Cheung]Jeremy Kemper2007-12-273-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de