aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Fix Hash#from_xml with Type records. Closes #9242 [Juanjo Bazan, Isaac Feliu]Jeremy Kemper2008-02-271-2/+47
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make date_helper use tag and content_tag. Move to assert_dom_equal instead ↵Michael Koziarski2008-02-202-119/+127
| | | | | | 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
* use stubbing instead of monkeypatching to stop tests from interfering ↵Michael Koziarski2008-02-191-14/+13
| | | | | | with one another. Closes #11163 [RubyRedRick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Check the host string contains %d before using String#%, this avoids ↵Michael Koziarski2008-02-181-1/+1
| | | | | | warnings. Closes #10809 [chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :trailing_slash option to UrlWriter. Closes #9117 [juanjo.bazan]Michael Koziarski2008-02-182-2/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tests for distance_of_time_in_words with TimeWithZone instances. Closes ↵Geoff Buesing2008-02-162-45/+67
| | | | | | #10914 [ernesto.jimenez] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sort files to test to make load order platform independent. Fix the clash ↵Michael Koziarski2008-02-162-18/+18
| | | | | | this exposes. Closees #11081 [tpope] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that :confirm doesn't need extra quotes when using ↵Michael Koziarski2008-02-162-1/+6
| | | | | | drop_receiving_element. Closes #8299 [thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure render :update support the options hash. Closes #11088 ↵Michael Koziarski2008-02-124-9/+23
| | | | | | [ernesto.jimenez] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* remove support for ampersand-delimited cookie valuesJamis Buck2008-02-123-4/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ooops. Add fixture partials for last commitMarcel Molina2008-02-082-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with render :partial collections, records, and locals. #11057 ↵Marcel Molina2008-02-084-2/+16
| | | | | | [lotswholetime] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for naming concrete classes in sweeper declarations [DHH]David Heinemeier Hansson2008-02-072-1/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove ERB trim variables from trace template in case ↵Rick Olson2008-02-072-5/+7
| | | | | | 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
* Fix typo in form_helper documentation. Closes #10650 [xaviershay, kampers]Rick Olson2008-02-072-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug with setting Request#format= after the getter has cached the value. ↵Rick Olson2008-02-073-1/+10
| | | | | | Closes #10889 [cch1] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a slightly more informative exception message for ↵Rick Olson2008-02-071-1/+6
| | | | | | ActionView::TemplateFinder::InvalidViewPath [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct inconsistencies in RequestForgeryProtection docs. #11032 [mislav]Rick Olson2008-02-062-34/+43
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce a Template class to ActionView. Closes #11024 [lifofifo]Michael Koziarski2008-02-0611-123/+145
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache partial variable names to reduce garbageJeremy Kemper2008-02-031-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add --measure option to script/performance/request to set ruby-prof measure ↵Jeremy Kemper2008-02-031-1/+4
| | | | | | 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
* Fix missing extension for caching. Closes #10733 [Catfish, tcoppock, mpalmer]Jeremy Kemper2008-02-032-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce the :index option for form_for and fields_for to simplify ↵Jeremy Kemper2008-02-024-11/+96
| | | | | | 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
* Introduce map.resources :cards, :as => 'tarjetas' to use a custom resource ↵Jeremy Kemper2008-02-023-7/+46
| | | | | | 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
* TestSession supports indifferent access. Closes #7372.Jeremy Kemper2008-02-023-3/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix number_to_human_size incorrectly removing trailing zeros. Closes #10099 ↵Jeremy Kemper2008-02-022-1/+2
| | | | | | [libc, developingchris] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't split cookies on comma also. References r8505.Jeremy Kemper2008-02-022-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move the declaration of the compilation related cattr_accessors to ↵Michael Koziarski2008-01-302-11/+12
| | | | | | compilable. Closes #10959 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the non inferrable controller message a little friendlier. [Koz]Michael Koziarski2008-01-301-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_routing aware of the HTTP method used. Closes #8039 [mpalmer]Michael Koziarski2008-01-303-2/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct line numbers from template errors. Closes #10937 [Aleksey Kondratenko]Michael Koziarski2008-01-272-1/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Precalculate the Backtrace of a template error to avoid raising exceptions ↵Michael Koziarski2008-01-271-4/+11
| | | | | | 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
* Add documentation for polymorphic URL helpers, make API consistent for ↵Michael Koziarski2008-01-272-90/+196
| | | | | | | | | 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
* Don't repeatedly add relative_url_root to asset sources. Closes #10767 ↵Michael Koziarski2008-01-272-5/+15
| | | | | | [tomtoday, Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use File.join to construct partial path. Closes #10932 [patrick.t.joyce]Michael Koziarski2008-01-271-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make it simpler to make the root route an alias for another route. Closes ↵Michael Koziarski2008-01-264-0/+40
| | | | | | #10818 [bscofield] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct documentation for dom_id [jbarnette] Closes #10775Michael Koziarski2008-01-261-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle corner case with image_tag when passed 'messed up' image names. ↵Michael Koziarski2008-01-253-1/+4
| | | | | | Closes #9018 [duncanbeevers, mpalmer] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Preserve integration session's request_countJeremy Kemper2008-01-231-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor template compilation from AV::Base into the template handlers. ↵Michael Koziarski2008-01-228-170/+184
| | | | | | Closes #10888 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add label_tag helper for generating elements. Closes #10802 [DefV]Michael Koziarski2008-01-213-0/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* missing changelog for [8683]Michael Koziarski2008-01-211-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reapply the TemplateFinder first applied in [8669] then reverted in [8676]. ↵Michael Koziarski2008-01-2112-167/+254
| | | | | | Closes #10800 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure mime types can be compared with symbols. Closes #10796 [bscofield]Michael Koziarski2008-01-202-1/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert r8669 for now, breaks Action Mailer. Reopens #10800.Jeremy Kemper2008-01-1912-240/+167
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance: optimize route recognition. Large speedup for apps with many ↵Jeremy Kemper2008-01-194-13/+165
| | | | | | resource routes. Closes #10835. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add timing test for large restful route recognition. References #10835 ↵Jeremy Kemper2008-01-192-8/+52
| | | | | | [oleganza] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TemplateFinder to handle view paths and lookups. Closes #10800.Jeremy Kemper2008-01-1912-167/+240
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵Jeremy Kemper2008-01-192-39/+14
| | | | | | teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restructure routing into several smaller files. References #10835 [oleganza]Michael Koziarski2008-01-177-1179/+1197
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de