Jeremy Kemper
|
c55120c8e6
|
Revert [8865], broke AP record identifier. Reopens #11109.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-15 21:47:27 +00:00 |
|
Jeremy Kemper
|
6f0b0125d0
|
Fix typo in migration test. Closes #11105 [h-lame]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-15 20:12:45 +00:00 |
|
Michael Koziarski
|
c75abf058e
|
Avoid repeated calls to Base#connection. Closes #11111 [adymo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 20:09:05 +00:00 |
|
Michael Koziarski
|
838b02450a
|
Optimisation for BigDecimal conversion code. Closes #11110 [adymo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 20:06:25 +00:00 |
|
Michael Koziarski
|
039f724c7b
|
Minor formatting changes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 20:02:19 +00:00 |
|
Rick Olson
|
de048b1009
|
Improve associations performance by using symbol callbacks instead of string callbacks. Closes #11108 [adymo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 07:53:37 +00:00 |
|
Rick Olson
|
8a2266c020
|
Improve associations performance by avoiding named block arguments. Closes #11109
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 07:24:09 +00:00 |
|
Jeremy Kemper
|
dfa786631b
|
Introduce the :readonly option to all associations. Records from the association cannot be saved. Closes #11084.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-13 06:32:50 +00:00 |
|
Michael Koziarski
|
08a4c9979d
|
Remove options from the attributes method, tidy up the implementation. Closes #11093 [juanjo.bazan, Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-13 02:19:46 +00:00 |
|
Michael Koziarski
|
46356100d1
|
Make sure render :update support the options hash. Closes #11088 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-12 22:42:36 +00:00 |
|
Jamis Buck
|
11787b802a
|
remove support for ampersand-delimited cookie values
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-12 21:45:39 +00:00 |
|
Michael Koziarski
|
8739390134
|
Avoid cloning in Base#attributes_before_typecast. Closes #11077 [juanjo.bazan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-11 21:02:17 +00:00 |
|
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 |
|