Michael Koziarski
|
6e165b8940
|
Make it simpler to make the root route an alias for another route. Closes #10818 [bscofield]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-26 08:41:19 +00:00 |
|
Michael Koziarski
|
07132865d6
|
Remove dead attr_reader from association proxy. Closes #10668 [danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-26 08:33:48 +00:00 |
|
Michael Koziarski
|
c48f744400
|
Make sure that belongs_to counter decrements when assigning nil Closes #10804 [jeanmartin]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-26 06:23:03 +00:00 |
|
Michael Koziarski
|
02625c9c96
|
Correct documentation for dom_id [jbarnette] Closes #10775
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-26 05:11:09 +00:00 |
|
Michael Koziarski
|
176abc842c
|
Add tests and documentation for allow_blank. Closes #10651 [blj]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-26 05:08:20 +00:00 |
|
Geoff Buesing
|
8ef3dfff7a
|
TimeWithZone#- added, so that #- can handle a Time or TimeWithZone argument correctly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-26 00:34:44 +00:00 |
|
Geoff Buesing
|
c95365a00e
|
with_timezone test helper renamed with_env_tz, to distinguish between setting ENV['TZ'] and setting Time.zone in tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-26 00:11:59 +00:00 |
|
Geoff Buesing
|
dad3e835f7
|
Time#- coerces TimeWithZone argument to a Time instance so that difference in seconds can be calculated. Closes #10914 [Geoff Buesing, yyyc514]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 23:55:07 +00:00 |
|
Geoff Buesing
|
4b2ac708b7
|
Adding UTC zone to TimeZone; TimeWithZone no longer has to fake UTC zone with nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 18:23:22 +00:00 |
|
Geoff Buesing
|
a7adca3d3b
|
Time.get_zone refactored to private method, given that the encapsulated logic is only useful internally
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 16:12:43 +00:00 |
|
Geoff Buesing
|
c911e1ac08
|
Time.zone uses thread-local variable for thread safety. Adding Time.use_zone, for
overriding Time.zone locally inside a block. Removing unneeded Time.zone_reset!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 15:52:23 +00:00 |
|
Michael Koziarski
|
9f1fdcc27d
|
Handle corner case with image_tag when passed 'messed up' image names. Closes #9018 [duncanbeevers, mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 04:13:50 +00:00 |
|
Geoff Buesing
|
2168178bdb
|
TimeZone#to_s uses UTC rather than GMT; reapplying change that was undone in [8679]. References #1689
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 03:54:10 +00:00 |
|
Geoff Buesing
|
8f7232bc76
|
Time.days_in_month defaults to current year if no year is supplied as argument, uses Date.gregorian_leap? to determine leap year, and uses constant lookup to determine days in month. Closes #10799 [Radar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-25 03:29:20 +00:00 |
|
Geoff Buesing
|
ac03ad1f78
|
Adding Time and DateTime #compare_with_coercion, which layers behavior on #<=> so that any combination of Time, DateTime and ActiveSupport::TimeWithZone instances can be chronologically compared
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 22:22:36 +00:00 |
|
Geoff Buesing
|
213fac6f49
|
TimeZone#now returns an ActiveSupport::TimeWithZone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 20:49:53 +00:00 |
|
Geoff Buesing
|
cb8de22dfb
|
Time #in_current_time_zone and #change_time_zone_to_current return self when Time.zone is nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 18:49:54 +00:00 |
|
Marcel Molina
|
b2fa70a8e1
|
Indicate in documentation that newer version of AR support eager loading in polymorphic associations. Closes #10861 [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 17:06:40 +00:00 |
|
Marcel Molina
|
349df75605
|
Reference to :element option in documentation should be :member. Closes #10905 [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 17:04:49 +00:00 |
|
Geoff Buesing
|
2d0d348fb2
|
Remove unneeded #to_datetime_default_s alias for DateTime#to_s, given that we inherit a #to_default_s from Date that does exactly the same thing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 16:10:28 +00:00 |
|
Jeremy Kemper
|
2cd8424aae
|
Preserve integration session's request_count
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 08:37:58 +00:00 |
|
Jeremy Kemper
|
8273280a63
|
Enumerable#group_by uses ActiveSupport::OrderedHash
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 07:25:20 +00:00 |
|
Geoff Buesing
|
fc71a07edb
|
Refactor Time and DateTime #to_formatted_s: use ternary instead of nested if/else
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 02:53:29 +00:00 |
|
Geoff Buesing
|
abb24b484f
|
Adding Time and DateTime #formatted_offset, for outputting +HH:MM utc offset strings with cross-platform consistency
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 02:46:47 +00:00 |
|
Geoff Buesing
|
2e7b2f0344
|
Adding alternate_utc_string option to TimeZone#formatted_offset. Removing unneeded TimeZone#offset
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 02:11:00 +00:00 |
|
Geoff Buesing
|
022d9f7ce6
|
Introduce ActiveSupport::TimeWithZone, for wrapping Time instances with a TimeZone. Introduce instance methods to Time for creating TimeWithZone instances, and class methods for managing a global time zone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 01:56:22 +00:00 |
|
Michael Koziarski
|
a91b7f1975
|
require test/unit explicitly otherwise the at_exit handler doesn't get called [jbarnette]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-22 08:32:50 +00:00 |
|
Michael Koziarski
|
c0110a9faa
|
Refactor template compilation from AV::Base into the template handlers. Closes #10888 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-22 01:46:34 +00:00 |
|
Michael Koziarski
|
91de20d621
|
Add options missing from earlier changeset
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-22 01:29:10 +00:00 |
|
David Heinemeier Hansson
|
29938ba0f0
|
Log an error to the console when the memcache server is raising
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-22 00:09:08 +00:00 |
|
Michael Koziarski
|
7701e6466d
|
Add label_tag helper for generating elements. Closes #10802 [DefV]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 21:08:28 +00:00 |
|
Michael Koziarski
|
37f71a77cc
|
missing changelog for [8683]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 21:07:43 +00:00 |
|
Michael Koziarski
|
61c90a4ad6
|
Reapply the TemplateFinder first applied in [8669] then reverted in [8676]. Closes #10800 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 20:45:04 +00:00 |
|
Jeremy Kemper
|
32b36b8936
|
Add missing author_addresses.yml fixture. Closes #10592.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 17:21:12 +00:00 |
|
Jeremy Kemper
|
39814fcce0
|
Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 17:20:51 +00:00 |
|
Geoff Buesing
|
1d4f4cdfe2
|
Replace non-dst-aware TimeZone class with dst-aware class from tzinfo_timezone plugin. TimeZone#adjust and #unadjust are no longer available; tzinfo gem must now be present in order to perform time zone calculations, via #local_to_utc and #utc_to_local methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-21 03:55:54 +00:00 |
|
Michael Koziarski
|
9c4beb5e98
|
Tidy up description for the rake test task. Closes #10598 [akaspick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-20 23:27:19 +00:00 |
|
Michael Koziarski
|
250a1194b9
|
Ensure mime types can be compared with symbols. Closes #10796 [bscofield]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-20 22:55:25 +00:00 |
|
Jeremy Kemper
|
88bc014acc
|
Revert r8669 for now, breaks Action Mailer. Reopens #10800.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 06:01:57 +00:00 |
|
Jeremy Kemper
|
16b129a68c
|
belongs_to supports :dependent => :destroy and :delete. Closes #10592.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 05:30:42 +00:00 |
|
Jeremy Kemper
|
f95ff8d4dc
|
Performance: optimize route recognition. Large speedup for apps with many resource routes. Closes #10835.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 05:25:20 +00:00 |
|
Jeremy Kemper
|
630c643f5b
|
Add timing test for large restful route recognition. References #10835 [oleganza]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 05:24:44 +00:00 |
|
Jeremy Kemper
|
355a8ff2cd
|
Introduce preload query strategy for eager :includes. Closes #9640.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 04:19:53 +00:00 |
|
Jeremy Kemper
|
abdf546ad6
|
Support aggregations in finder conditions. Closes #10572.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 03:45:24 +00:00 |
|
Jeremy Kemper
|
3877dfc72b
|
Remove dead code. Closes #10698 [garru]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 03:23:45 +00:00 |
|
Jeremy Kemper
|
84b0f9c739
|
Introduce TemplateFinder to handle view paths and lookups. Closes #10800.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 03:20:39 +00:00 |
|
Jeremy Kemper
|
4a644575c8
|
Update vendor version number
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 03:13:44 +00:00 |
|
Jeremy Kemper
|
982d909295
|
Update tmail to r208 versioned as 1.2.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 03:13:34 +00:00 |
|
Jeremy Kemper
|
abfab89fd8
|
Ruby 1.9 compat: test encoding fixes. Closes #10597 [murphy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 03:03:38 +00:00 |
|
Jeremy Kemper
|
52876c6010
|
Move rake contrib require to task
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 03:03:28 +00:00 |
|