Jeremy Kemper
|
f6d8526659
|
require abstract_unit directly since test is in load path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-05 13:31:04 +00:00 |
|
Jeremy Kemper
|
b144818698
|
Document that .build doesn't apply to has_many :through associations. Closes #10707 [GMFlash]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-05 02:21:25 +00:00 |
|
Jeremy Kemper
|
83f65594de
|
Prefer to instantiate fixtures with model classes instead of their names, avoiding excess constant lookups. Closes #10677 [nwilmes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-05 02:20:57 +00:00 |
|
Jeremy Kemper
|
f42063d038
|
Cache fixture model class. References #10677 [nwilmes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-05 02:20:26 +00:00 |
|
Jeremy Kemper
|
3464a7e79c
|
assert_response failures include the exception message. Closes #10688.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-05 02:19:48 +00:00 |
|
Jeremy Kemper
|
5ccc3cf448
|
Move model dependency to the end of the scaffold generator manifest. Closes #10696 [drnic]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-05 00:26:27 +00:00 |
|
Jeremy Kemper
|
752f633bc5
|
Document that eager loading doesn't work with polymorphic associations. Closes #10610 [Xavier Noria]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8556 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-04 23:21:52 +00:00 |
|
Jeremy Kemper
|
dc604b43a0
|
Ruby 1.9: Module#local_constants can now just use constants(false). Closes #10648 [Xavier Noria]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-04 03:25:20 +00:00 |
|
Jeremy Kemper
|
c36f8111a6
|
pdate_all ignores scoped :order and :limit, so post.comments.update_all 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
|
2008-01-04 03:19:50 +00:00 |
|
Jeremy Kemper
|
25db1fc201
|
Ruby 1.9 compat: test multibyte chars proxy for 1.8 only
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-04 03:19:20 +00:00 |
|
David Heinemeier Hansson
|
2a9ad9ccbc
|
Moved the caching stores from ActionController::Caching::Fragments::* to 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
|
2008-01-03 21:05:12 +00:00 |
|
Michael Koziarski
|
288553540b
|
Ruby 1.9: Forwards compatibility change for fixtures and the new CSV module [JEG2]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 19:14:38 +00:00 |
|
David Heinemeier Hansson
|
32876476a7
|
Refactored ActionController::Verification and improved docs (closes #10681) [jamesh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 15:49:59 +00:00 |
|
David Heinemeier Hansson
|
e2e98ef0b8
|
Made fragment caching in views work for rjs and builder as well (closes #6642) [zsombor]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 15:35:10 +00:00 |
|
David Heinemeier Hansson
|
d5645fd4a0
|
Fixed rendering of partials with layout when done from site layout (closes #9209) [antramm]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 15:28:36 +00:00 |
|
Jeremy Kemper
|
7b8ee2438f
|
Ruby 1.9 compat: don't use obsolete ParseDate
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 02:59:03 +00:00 |
|
Jeremy Kemper
|
f7f0e7b833
|
Remove toplevel rubyforgepublisher require for new Rake
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 02:58:43 +00:00 |
|
Jeremy Kemper
|
2ae55ca0b9
|
Ruby 1.9 compat: special-case String access methods to not depend on #chars
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 02:43:19 +00:00 |
|
David Heinemeier Hansson
|
6a6367d7d2
|
Fixed that you don't have to call super in ActionMailer::TestCase#setup (closes #10406) [jamesgolick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 00:40:28 +00:00 |
|
David Heinemeier Hansson
|
64b4c18e15
|
Refactor check for local databases (closes #10539) [parcelbrat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 00:35:23 +00:00 |
|
David Heinemeier Hansson
|
424c330634
|
Added by parameter to increment, decrement, and their bang varieties so you 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
|
2008-01-03 00:30:22 +00:00 |
|
David Heinemeier Hansson
|
3229b59495
|
Fixed String#titleize to work for strings with 's too (closes #10571) [trek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 00:16:47 +00:00 |
|
David Heinemeier Hansson
|
f5aaf945b6
|
Added that rails:update is run when you do rails:freeze:edge to ensure you 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
|
2008-01-03 00:14:47 +00:00 |
|
Rick Olson
|
0ad24df6ed
|
Optimize ActiveRecord::Base#exists? to use #select_all instead of #find. Closes #10605 [jamesh, fcheung, protocool]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 21:39:49 +00:00 |
|
Rick Olson
|
744b1d7f4d
|
Fix atom_feed_helper to comply with the atom spec. Closes #10672 [xaviershay]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 19:45:53 +00:00 |
|
Rick Olson
|
4261b837f5
|
Fix small documentation typo. Closes #10670 [l.guidi]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 19:27:21 +00:00 |
|
Rick Olson
|
14f6440ed6
|
Correct indentation in a couple spots. Closes #10671 [l.guidi, rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 19:24:44 +00:00 |
|
Jeremy Kemper
|
001fe6a435
|
Fix failing date helper test. Closes #10664 [Wesley Moxam]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 18:09:52 +00:00 |
|
Jeremy Kemper
|
9a97f9a14b
|
find_or_create_resource_for handles module nesting. Closes #10646.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 09:14:34 +00:00 |
|
Jeremy Kemper
|
4e04ec4adb
|
Ruby 1.9 compat: fix two failing tests since String#each has been removed. Closes #10655.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 09:11:39 +00:00 |
|
Jeremy Kemper
|
ff47ba9adb
|
Ruby 1.9 compat: add #raise to AS::BasicObject, fixup Duration argument error. Closes #10594.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 09:08:14 +00:00 |
|
Jeremy Kemper
|
e21c48baf7
|
db:sessions:clear task uses session_table_name method. Closes #10631 [Cheah Chu Yeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 09:03:56 +00:00 |
|
Jeremy Kemper
|
9def906fd0
|
Correct Hash#assert_valid_keys docs. Closes #10621 [Cheah Chu Yeow, blackanger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 09:01:19 +00:00 |
|
Jeremy Kemper
|
072b9d9fba
|
SQLite: db:drop:all doesn't fail silently if the database is already open. Closes #10577.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 08:28:58 +00:00 |
|
Jeremy Kemper
|
42622f23b4
|
Fix invalid time test. Closes #10632 [Dirkjan Bussink]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 08:26:37 +00:00 |
|
David Heinemeier Hansson
|
438b108c6b
|
Changed the implementation of Enumerable#group_by to use a double array 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
|
2007-12-31 21:30:17 +00:00 |
|
Jeremy Kemper
|
07de7612bd
|
Don't make new_mongrel server default yet
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-29 19:43:39 +00:00 |
|
Jeremy Kemper
|
20d29b3797
|
Ruby 1.9 compat: introduce ActiveSupport::FrozenObjectError normalize TypeError vs RuntimeError handling. Closes #10645 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-29 19:43:07 +00:00 |
|
Jeremy Kemper
|
1bb208d7e5
|
Fixup mocha tests for 0.5.6. Closes #10602 [murphy, mikong]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-29 05:16:03 +00:00 |
|
Jeremy Kemper
|
07392bfe87
|
Ruby 1.9 compat: workaround module_eval bug. Closes #10641 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-29 05:06:06 +00:00 |
|
Rick Olson
|
58cf6df41a
|
Fix that auto_link looks for ='s in url paths (Amazon urls have them). Closes #10640 [bgreenlee]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 20:59:30 +00:00 |
|
Rick Olson
|
9e2536393e
|
remove multiple enumerations from ActiveSupport::JSON#convert_json_to_yaml when dealing with date/time values. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 18:37:17 +00:00 |
|
Rick Olson
|
0e3a54a3b9
|
Don't unnecessarily load has_many associations in after_update callbacks. Closes #6822 [stopdropandrew, canadaduane]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 18:01:22 +00:00 |
|
Rick Olson
|
e8730713d2
|
Allow setting ActiveResource::Base#format before #site. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 17:12:35 +00:00 |
|
Rick Olson
|
c54b915825
|
Support agnostic formats when calling custom methods. Closes #10635 [joerichsen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 17:03:58 +00:00 |
|
Rick Olson
|
90d75e5109
|
inherit from the new ActiveSupport::BlankSlate class
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 17:02:01 +00:00 |
|
Jeremy Kemper
|
7bd33735d4
|
Introduce ActiveSupport::BasicObject which bridges Builder::BlankSlate and Ruby 1.9 BasicObject. Closes #10634 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 11:14:18 +00:00 |
|
Jeremy Kemper
|
7555073803
|
Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 05:42:12 +00:00 |
|
Jeremy Kemper
|
16558f6dd8
|
Ensure that test case setup is run even if overridden. Closes #10382.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 05:21:24 +00:00 |
|
Jeremy Kemper
|
0c0610d398
|
Use extract_options! rather than Hash test + pop. Closes #10628 [ssoroka]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 03:58:01 +00:00 |
|