Michael Koziarski
|
081eed352f
|
Fix the pre-quoted table names in the eager tests. [mislav]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-11 07:24:25 +00:00 |
|
Michael Koziarski
|
d4daf7bba7
|
Fix eager loading with pre-quoted table names. Closes #11046 [danielmorrison, Koz, Jeremy Kemper]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-11 02:50:58 +00:00 |
|
Geoff Buesing
|
c9402b2277
|
Multiparameter attributes for time columns fail over to DateTime when out of range of Time
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 22:46:31 +00:00 |
|
Geoff Buesing
|
6608a3ef37
|
Adding TimeWithZone #to_yaml, #to_datetime, #eql? and method aliases for duck-typing compatibility with Time
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 22:26:16 +00:00 |
|
Geoff Buesing
|
8ad5a29cef
|
TimeWithZone #in_time_zone returns +self+ if zone argument is the same as #time_zone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 20:35:47 +00:00 |
|
Geoff Buesing
|
8831180b15
|
Adding TimeWithZone #to_a, #to_f, #to_i, #httpdate, #rfc2822
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 20:04:14 +00:00 |
|
Geoff Buesing
|
163a4c6f45
|
Pruning unneeded TimeWithZone#change_time_zone_to_current
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 19:15:32 +00:00 |
|
Geoff Buesing
|
b9be374ddd
|
Time#zone=, #in_time_zone and #change_time_zone accept a Duration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 19:02:30 +00:00 |
|
Geoff Buesing
|
db4fc6f206
|
Time#in_time_zone handles Time.local instances correctly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 18:45:55 +00:00 |
|
Geoff Buesing
|
521714a39d
|
Pruning unneeded Time#change_time_zone_to_current. Enhanced docs for #change_time_zone
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 18:20:37 +00:00 |
|
Geoff Buesing
|
94fa9fb745
|
TimeZone#new renamed #local, so that new TimeWithZone instances can be created via Time.zone.local()
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 17:02:22 +00:00 |
|
Michael Koziarski
|
2c8fb682cb
|
Show RecordInvalid in the documentation. References #10976 [kampers]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-10 02:49:11 +00:00 |
|
Michael Koziarski
|
5396b0f3b0
|
Use HEAD instead of GET inside exists? Closes #11062 [bscofield]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-09 22:21:55 +00:00 |
|
Michael Koziarski
|
9e13b966f6
|
Move SecretKeyGenerator comments to the correct place for rdoc. Closes #10940 [FooBarWidget]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-09 22:18:38 +00:00 |
|
Michael Koziarski
|
3df052ac60
|
Remove misleading / incorrect warning from validation documentation. Closes #8241 [quixoten, pedz, tom]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-09 08:24:35 +00:00 |
|
Michael Koziarski
|
cadb087deb
|
Avoid cloning in Base#attributes. Closes #11047 [juanjo.bazan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-08 23:35:33 +00:00 |
|
Marcel Molina
|
3d1a30bc59
|
Ooops. Add fixture partials for last commit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-08 22:33:17 +00:00 |
|
Marcel Molina
|
c848c4c621
|
Fix problem with render :partial collections, records, and locals. #11057 [lotswholetime]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-08 22:04:06 +00:00 |
|
Jeremy Kemper
|
218417b8a9
|
Remove empty .rhtml templates
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 23:10:01 +00:00 |
|
David Heinemeier Hansson
|
56d0e33037
|
Added support for naming concrete classes in sweeper declarations [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 22:50:49 +00:00 |
|
David Heinemeier Hansson
|
40f67639c8
|
Fix that the options hash can be nil when coming from fragments
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 22:04:24 +00:00 |
|
Jeremy Kemper
|
3335bd12c8
|
ActiveSupport::Base64.encode64s since Base64 is deprecated
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 21:50:46 +00:00 |
|
David Heinemeier Hansson
|
fbd7ec3c9f
|
Added Base64.encode64s to encode values in base64 without the newlines. This makes the values immediately usable as URL parameters or memcache keys without further processing [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 21:09:23 +00:00 |
|
Rick Olson
|
4a9fc4424f
|
Remove ERB trim variables from trace template in case ActionView::Base.erb_trim_mode is changed in the application. Closes #10098 [tpope, kampers]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 17:06:53 +00:00 |
|
Rick Olson
|
efa739d73d
|
Fix typo in form_helper documentation. Closes #10650 [xaviershay, kampers]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 16:50:55 +00:00 |
|
Rick Olson
|
8e6638afa4
|
Fix bug with setting Request#format= after the getter has cached the value. Closes #10889 [cch1]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 16:46:50 +00:00 |
|
Rick Olson
|
689e27567e
|
Remove :nodoc: entries around the ActiveSupport test/unit assertions. Closes #10946 [dancroak, jamesh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 16:43:16 +00:00 |
|
Rick Olson
|
57cea9c945
|
Add a slightly more informative exception message for ActionView::TemplateFinder::InvalidViewPath [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-07 02:45:13 +00:00 |
|
Michael Koziarski
|
cfb8ba0003
|
Add uses_tzinfo to active record tests to prevent breaking the cc.rb build etc. Closes #11034 [mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-06 22:26:47 +00:00 |
|
Rick Olson
|
13264afb12
|
Correct inconsistencies in RequestForgeryProtection docs. #11032 [mislav]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-06 18:50:48 +00:00 |
|
Rick Olson
|
72385a7be6
|
Add Time Zone support to ActiveRecord, and config.time_zone property for specifying a default Time Zone. Closes #10982 [Geoff Buesing, rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-06 06:43:02 +00:00 |
|
Michael Koziarski
|
692dbbf793
|
Introduce a Template class to ActionView. Closes #11024 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-06 04:26:40 +00:00 |
|
Michael Koziarski
|
8bc9018882
|
Make the docs reference the correct function. [Tobi Reif]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-04 23:29:21 +00:00 |
|
Rick Olson
|
20bab5bc64
|
ensure that the after_initialize hooks are run after the application initializers have run
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 17:54:39 +00:00 |
|
Jeremy Kemper
|
ac2b213135
|
MySQL: memoize column and table name quoting to reduce garbage
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 12:11:52 +00:00 |
|
Jeremy Kemper
|
72640c6125
|
Cache partial variable names to reduce garbage
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 12:11:30 +00:00 |
|
Jeremy Kemper
|
53eca3abc8
|
Add --measure option to script/performance/request to set ruby-prof measure mode: process_time, wall_time, cpu_time, allocations, memory.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 12:11:12 +00:00 |
|
Jeremy Kemper
|
780151c01e
|
Fix missing extension for caching. Closes #10733 [Catfish, tcoppock, mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 01:11:42 +00:00 |
|
Jeremy Kemper
|
78253acb59
|
Revert r8742: remove has_many with :group option since it has sketchy sql support. Closes #10480.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-03 01:09:58 +00:00 |
|
Jeremy Kemper
|
7fe2ad7279
|
Ruby 1.9 compat: declare utf-8 file encoding
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 22:52:32 +00:00 |
|
Jeremy Kemper
|
c5d89bc934
|
Slight camelize speedup [Pratik Naik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 21:42:39 +00:00 |
|
Rick Olson
|
5ef2b089f0
|
Reshuffle load order so that routes and observers are initialized after plugins and app initializers. Closes #10980 [rick, fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 20:18:18 +00:00 |
|
Jeremy Kemper
|
0da2aa6d11
|
Introduce the :index option for form_for and fields_for to simplify multi-model forms (see http://railscasts.com/episodes/75). Closes #9883.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 06:16:04 +00:00 |
|
Jeremy Kemper
|
fadaba679a
|
Introduce map.resources :cards, :as => 'tarjetas' to use a custom resource name in the URL: cards_path == '/tarjetas'. Closes #10578.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 05:57:16 +00:00 |
|
Jeremy Kemper
|
9e1d91c24b
|
TestSession supports indifferent access. Closes #7372.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 05:32:44 +00:00 |
|
Jeremy Kemper
|
fbd3eb7142
|
Less verbose mail logging: just recipients for :info log level; the whole email for :debug only. Closes #8000.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 05:32:15 +00:00 |
|
Jeremy Kemper
|
5bbc461fcb
|
Fix calculations on associations with custom :foreign_key. Closes #8117 [kamal, jack]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 04:28:42 +00:00 |
|
Jeremy Kemper
|
6d8534acc0
|
When multiparameter date assignment fails due to an invalid date, fall back to create a Time and convert to_date. Closes #10556 [leikind]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 03:37:25 +00:00 |
|
Jeremy Kemper
|
b1ea27630d
|
Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondratenko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 03:27:31 +00:00 |
|
Jeremy Kemper
|
9d79e0668d
|
Fix number_to_human_size incorrectly removing trailing zeros. Closes #10099 [libc, developingchris]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 02:59:10 +00:00 |
|