Michael Koziarski
|
cd937e6ad7
|
Make date_helper use tag and content_tag. Move to assert_dom_equal instead of assert_equal to avoid being dependent on hash ordering. Closes #11131 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 04:23:18 +00:00 |
|
Michael Koziarski
|
1537aec184
|
use stubbing instead of monkeypatching to stop tests from interfering with one another. Closes #11163 [RubyRedRick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-19 21:43:13 +00:00 |
|
Michael Koziarski
|
cae1d960d2
|
Check the host string contains %d before using String#%, this avoids warnings. Closes #10809 [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 01:02:29 +00:00 |
|
Michael Koziarski
|
db4f421b0b
|
Add :trailing_slash option to UrlWriter. Closes #9117 [juanjo.bazan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 00:42:06 +00:00 |
|
Geoff Buesing
|
3025ff28cc
|
Tests for distance_of_time_in_words with TimeWithZone instances. Closes #10914 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 21:16:03 +00:00 |
|
Michael Koziarski
|
1d5ea1857f
|
Sort files to test to make load order platform independent. Fix the clash this exposes. Closees #11081 [tpope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 03:08:05 +00:00 |
|
Michael Koziarski
|
86cb0a61fb
|
Ensure that :confirm doesn't need extra quotes when using drop_receiving_element. Closes #8299 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 00:07:52 +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 |
|
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 |
|
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 |
|
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
|
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 |
|
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 |
|
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 |
|
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
|
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
|
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 |
|
Jeremy Kemper
|
b84a33ddd1
|
Don't split cookies on comma also. References r8505.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-02 02:55:44 +00:00 |
|
Michael Koziarski
|
1ba5fc745b
|
Move the declaration of the compilation related cattr_accessors to compilable. Closes #10959 [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-30 21:09:32 +00:00 |
|
Michael Koziarski
|
05707a436b
|
Make the non inferrable controller message a little friendlier. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-30 01:32:28 +00:00 |
|
Michael Koziarski
|
900d6d7bd2
|
Make assert_routing aware of the HTTP method used. Closes #8039 [mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-30 01:25:44 +00:00 |
|
Michael Koziarski
|
aecb7fbefc
|
Correct line numbers from template errors. Closes #10937 [Aleksey Kondratenko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 20:48:13 +00:00 |
|
Michael Koziarski
|
c155fe9a39
|
Precalculate the Backtrace of a template error to avoid raising exceptions in TemplateError#backtrace. These will abort the ruby vm. Closes #10936 [Aleksey Kondratenko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 20:45:35 +00:00 |
|
Michael Koziarski
|
f11904ad6d
|
Add documentation for polymorphic URL helpers, make API consistent for polymorphic_path and polymorphic_url.
Closes #10883 [mislav] Closes #8782 [gbuesing] Closes #8720 [gbuesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 01:18:47 +00:00 |
|
Michael Koziarski
|
10aa728e8b
|
Don't repeatedly add relative_url_root to asset sources. Closes #10767 [tomtoday, Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 01:10:48 +00:00 |
|
Michael Koziarski
|
5ac3a9bd0b
|
Use File.join to construct partial path. Closes #10932 [patrick.t.joyce]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-27 01:03:56 +00:00 |
|
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
|
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
|
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 |
|
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 |
|
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
|
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 |
|
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
|
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
|
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
|
aae37bb4f7
|
Extract ActiveSupport::Callbacks from Active Record, test case setup and teardown, and ActionController::Dispatcher. Closes #10727.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-19 02:44:45 +00:00 |
|
Michael Koziarski
|
3845de022b
|
Restructure routing into several smaller files. References #10835 [oleganza]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-17 22:45:54 +00:00 |
|
Michael Koziarski
|
b812b23687
|
Make render :partial recognise form builders and use the _form partial. Closes #10814 [djanowski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-16 02:01:57 +00:00 |
|