aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Added Rails.public_path to control where HTML and assets are expected to be ↵David Heinemeier Hansson2008-04-135-9/+25
| | | | loaded from (defaults to Rails.root + "/public") #11581 [nicksieger]
* Merge branch 'master' into custom_paths_for_resource_namesMichael Koziarski2008-04-122-7/+8
|\
| * stub the instance method, there is no class methodJeremy Kemper2008-04-111-1/+1
| |
| * Ruby 1.9 compat: workaround module_eval issueJeremy Kemper2008-04-111-6/+7
| |
* | Allow alternative values for the 'new' and 'edit' actions in resourceful routes.Michael Koziarski2008-04-123-3/+28
|/ | | | | | map.resource :schools, :as => 'escuelas', :path_names => { :new => 'nueva' } Closes #11181. [ivanvr]
* Fixed that formatted_polymorphic_route should be able to take the :format as ↵David Heinemeier Hansson2008-04-112-4/+19
| | | | part of a single hash or as the option hash (references #8741)
* Automatically parse posted JSON content for Mime::JSON requests. [rick]Rick Olson2008-04-085-8/+47
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add json_escape ERB util to escape html entities in json strings that are ↵Rick Olson2008-04-083-14/+30
| | | | | | output in HTML pages. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide a helper proxy to access helper methods from outside views. Closes ↵Josh Peek2008-04-063-0/+28
| | | | | | #10839 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-04-054-7/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replaced callback method evaluation in AssociationCollection class to use ↵Josh Peek2008-04-041-2/+8
| | | | | | ActiveSupport::Callbacks. Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546Pratik Naik2008-04-024-1/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: toplevel AS reference within BasicObjectJeremy Kemper2008-04-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: encoding and multibyte test fixesJeremy Kemper2008-04-013-28/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: proc arityJeremy Kemper2008-04-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* style & whitespaceJeremy Kemper2008-04-011-8/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: don't confuse with headers method callJeremy Kemper2008-04-011-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9: no args is 0 arity, not -1 as in 1.8Jeremy Kemper2008-04-011-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unnecessary arguments. References #11491.Pratik Naik2008-04-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed adds. References #11491.Jeremy Kemper2008-04-012-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support render :partial => collection of heterogeneous elements. Closes #11491.Jeremy Kemper2008-04-015-10/+63
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default .htaccess configuration as there are so many good ↵David Heinemeier Hansson2008-03-291-1/+1
| | | | | | deployment options now (kept it as an example in README) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert spurious commit from [9126]Jeremy Kemper2008-03-291-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix new migration versionsDavid Heinemeier Hansson2008-03-281-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid remote_ip spoofingJeremy Kemper2008-03-283-15/+53
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Inspect options hashes in RenderError message so it's actually readable. ↵Jeremy Kemper2008-03-281-2/+2
| | | | | | Closes #11435 [court3nay] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix layouts in symlinked paths. Closes #9136 [court3nay, caio]Jeremy Kemper2008-03-285-6/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing :js template falls back to :html, so you don't have to explicitly ↵Jeremy Kemper2008-03-282-4/+37
| | | | | | specify template format everywhere, breaking old code git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing fileDavid Heinemeier Hansson2008-03-281-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update doc (closes #11402)David Heinemeier Hansson2008-03-281-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for regexp flags like ignoring case in the :requirements part ↵David Heinemeier Hansson2008-03-286-7/+190
| | | | | | of routes declarations (closes #11421) [NeilW] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that ActionController::Base#read_multipart would fail if boundary was ↵David Heinemeier Hansson2008-03-283-2/+22
| | | | | | exactly 10240 bytes (closes #10886) [ariejan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed HTML::Tokenizer (used in sanitize helper) didnt handle unclosed CDATA ↵David Heinemeier Hansson2008-03-283-1/+10
| | | | | | tags (closes #10071) [esad, packagethief] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-03-264-9/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Whitespace + formattingJeremy Kemper2008-03-252-16/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that FormHelper#radio_button would produce invalid ids (closes #11298) ↵David Heinemeier Hansson2008-03-243-2/+7
| | | | | | [harlancrystal] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :confirm option to submit_tag (closes #11415) [miloops]David Heinemeier Hansson2008-03-243-3/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9087 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed NumberHelper#number_with_precision to properly round in a way that ↵David Heinemeier Hansson2008-03-243-3/+7
| | | | | | works equally on Mac, Windows, Linux (closes #11409, #8275, #10090, #8027) [zhangyuanyi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow the #simple_format text_helper to take an html_options hash for each ↵Rick Olson2008-03-243-5/+18
| | | | | | paragraph. Closes #2448 [Francois Beausoleil, thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix regression from filter refactoring where re-adding a skipped filter ↵Rick Olson2008-03-233-0/+38
| | | | | | resulted in it being called twice. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix an edge case with extra periods in Routing.normalize_paths. Closes ↵Jeremy Kemper2008-03-212-6/+6
| | | | | | #11337 [cavalle, veejar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed adds. References #10350.Jeremy Kemper2008-03-204-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Re-added ActionView::Helpers::register_javascript/stylesheet_expansion to ↵Jeremy Kemper2008-03-204-21/+108
| | | | | | make it easier for plugin developers to inject multiple assets. Closes #10350. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfixes (closes #11356, #11172, #10523)David Heinemeier Hansson2008-03-202-0/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [9106]. References #10350.Jeremy Kemper2008-03-193-85/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_response, don't cry if @exception isn't available in the templateJeremy Kemper2008-03-181-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor filters to use Active Support callbacks. Closes #11235.Jeremy Kemper2008-03-185-423/+276
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* sshpublisher needs to be explicitly required now, apparentlyDavid Heinemeier Hansson2008-03-181-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that polymorphic routes would modify the input array (closes #11363) ↵David Heinemeier Hansson2008-03-173-0/+13
| | | | | | [thomas.lee] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :format option to NumberHelper#number_to_currency to enable better ↵David Heinemeier Hansson2008-03-173-1/+11
| | | | | | localization support #11149 [lylo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de