aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Make ActionView#view_paths an attr_accessor for real this time. Also, don't ↵Rick Olson2007-06-153-8/+23
| | | | | | perform an unnecessary #compact on the @view_paths array in #initialize. Closes #8582 [dasil003, julik, rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only change date to beginning of month if it isn't nil.Jeremy Kemper2007-06-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve UrlRewriter tests. Improve helper test coverage. Closes #7207, ↵Jeremy Kemper2007-06-133-12/+40
| | | | | | #7208, #7212. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve helper test coverage. Closes #7215, #7233, #7234, #7235, #7236, ↵Jeremy Kemper2007-06-136-25/+112
| | | | | | #7237, #7238. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Take advantage of Mocha support for sequenced returns. Closes #8639 [Josh Peek]Jeremy Kemper2007-06-131-4/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tolerate missing content type on multipart file uploads. Fix for Safari 3.Jeremy Kemper2007-06-124-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove pagination. Install the classic_pagination plugin for ↵Jeremy Kemper2007-06-115-647/+3
| | | | | | forward compatibility, or move to the superior will_paginate plugin. Closes #8157. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: improve static segment test coverage. #7117 [Kevin Clark]Jeremy Kemper2007-06-091-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6979 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test javascript_tag. Closes #7239.Jeremy Kemper2007-06-081-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in resources documentation. Closes #8607 [yon]Jeremy Kemper2007-06-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Action caching is limited to GET requests returning 200 OK status. Closes #3335.Jeremy Kemper2007-06-083-7/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Text Helper test coverage. Closes #7274.Jeremy Kemper2007-06-082-1/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Action View test coverage. Closes #7241, #7243, #7244.Jeremy Kemper2007-06-083-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test periodically_call_remote with frequency. Closes #7244 [Rich Collins]Jeremy Kemper2007-06-081-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More nested polymorphic url helper fixes. Closes #6432, references #8601.Jeremy Kemper2007-06-075-29/+92
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix incomplete work from [6951] that was hidden by test stubs. Closes #6432.Jeremy Kemper2007-06-062-19/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resources: url_for([parent, child]) generates /parents/1/children/2 for the ↵Jeremy Kemper2007-06-056-45/+174
| | | | | | nested resource. Likewise with the other simply helpful methods like form_for and link_to. Closes #6432. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Assume html format when rendering partials in RJS. #8076 [Rick]Rick Olson2007-06-054-0/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6950 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't double-escape url_for in views. Closes #8144.Jeremy Kemper2007-06-053-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove junk form helper test. Closes #8416 [eric_oconnell]Jeremy Kemper2007-06-051-7/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow JSON-style values for the :with option of observe_field. Closes #8557 ↵Thomas Fuchs2007-06-033-1/+14
| | | | | | [kommen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove RAILS_ROOT from backtrace paths. Closes #8540.Jeremy Kemper2007-06-012-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6923 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: map.resource :logo routes to LogosController so the controller may ↵Jeremy Kemper2007-06-013-19/+19
| | | | | | be reused for multiple nestings or namespaces. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render :partial recognizes Active Record associations as Arrays. Closes #8538.Jeremy Kemper2007-06-014-2/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing helper load error shouldn't shadow load errors within the helper itself.Jeremy Kemper2007-05-311-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that DateHelper#date_select should set the day to the 1st when its a ↵David Heinemeier Hansson2007-05-312-1/+31
| | | | | | hidden option and the month is visible (or invalid dates can be produced) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't choke on nested helpers.Jeremy Kemper2007-05-291-18/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix test cases to match new json output. Closes #8371Rick Olson2007-05-293-13/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: drop semicolon and comma as route separators.Jeremy Kemper2007-05-293-22/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct flash discard rdoc. Closes #8502 [kampers]Jeremy Kemper2007-05-291-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generate rdoc with utf-8 charset. Closes #7188 [manfred, jferris]Jeremy Kemper2007-05-281-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* request.remote_ip understands X-Forwarded-For addresses with nonstandard ↵Jeremy Kemper2007-05-283-1/+6
| | | | | | whitespace. Closes #7386. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't croak if ruby-debug isn't installed.Jeremy Kemper2007-05-281-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't prepare response when rendering a component. Closes #8493.Jeremy Kemper2007-05-273-1/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reduce file stat calls when checking for template changes. Closes #7736.Jeremy Kemper2007-05-272-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added custom path cache_page/expire_page parameters in addition to the ↵David Heinemeier Hansson2007-05-274-5/+49
| | | | | | options hashes [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Action Caching speedup. #8231 [skaes]Rick Olson2007-05-273-37/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure compiled template tests pass on windows where there are no symlinks. ↵Michael Koziarski2007-05-271-22/+28
| | | | | | [skaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wordsmith resources documentation. Closes #8484.Jeremy Kemper2007-05-272-38/+65
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix syntax error in code example for routing documentation. #8377. [norbert]Marcel Molina2007-05-262-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing: respond with 405 Method Not Allowed status when the route path ↵Jeremy Kemper2007-05-267-16/+91
| | | | | | matches but the HTTP method does not. Closes #6953. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for assert_select_rjs with :show and :hide. #7780 [dchelimsky]Marcel Molina2007-05-263-7/+74
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_select's failure messages clearer about what failed. #7779 ↵Marcel Molina2007-05-263-21/+54
| | | | | | [dchelimsky] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed svn add from [6856]. References #8174.Jeremy Kemper2007-05-261-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce a default respond_to block for custom types. Closes #8174.Jeremy Kemper2007-05-263-98/+95
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* auto_complete_field takes a :method option so you can GET or POST. Closes #8120.Jeremy Kemper2007-05-263-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add multipart request parsing test with bracketed parameter key. References ↵Jeremy Kemper2007-05-242-0/+9
| | | | | | #8449. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to suppress :size when using :maxlength for ↵David Heinemeier Hansson2007-05-243-1/+9
| | | | | | FormTagHelper#text_field #3112 [rails@tpope.info] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't alias local varJeremy Kemper2007-05-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* catch possible WSOD when trying to render a missing partial. Closes #8454 ↵Rick Olson2007-05-243-0/+16
| | | | | | [Catfish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de