aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that verification violations with no specified action didn't halt the ↵David Heinemeier Hansson2007-11-301-6/+15
| | | | | | chain (now they do with a 400 Bad Request) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure assert_select_rjs gets counted, Closes #10278 [tarmo]Michael Koziarski2007-11-291-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise UnknownHttpMethod exception for unknown HTTP methods. Closes #10303 ↵Rick Olson2007-11-292-12/+23
| | | | | | [tarmo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype -r8232Sam Stephenson2007-11-291-71/+87
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prep for RC2David Heinemeier Hansson2007-11-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* correct confusing commentsMichael Koziarski2007-11-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure the optimisation code for routes doesn't get used if :host, ↵Michael Koziarski2007-11-281-1/+1
| | | | | | :anchor or :port are provided in the hash arguments. [pager, Koz] Closes #10292 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added protection from trailing slashes on page caching (closes #10229) ↵David Heinemeier Hansson2007-11-281-1/+1
| | | | | | [devrieda] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Asset timestamps are appended, not prepended. Closes #10276 [mnaberez]Marcel Molina2007-11-271-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed to_s bug with namespace routes (closes #10283) [johnb]David Heinemeier Hansson2007-11-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Minor inconsistency in description of render example. Closes #10029 ↵Marcel Molina2007-11-261-2/+2
| | | | | | [ScottSchram] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add #prepend_view_path and #append_view_path instance methods on ↵Rick Olson2007-11-262-4/+43
| | | | | | ActionController::Base for consistency with the class methods. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor sanitizer helpers into HTML classes and make it easy to swap them ↵Rick Olson2007-11-263-155/+227
| | | | | | out with custom implementations. Closes #10129. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add deprecation for old subtemplate syntax for ActionMailer templates, use ↵Rick Olson2007-11-261-0/+13
| | | | | | render :partial [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix TemplateError so it doesn't bomb on exceptions while running tests [rick]Rick Olson2007-11-261-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add documentation about asset timestamps (just for koz)David Heinemeier Hansson2007-11-251-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that named routes living under resources shouldn't have double slashes ↵David Heinemeier Hansson2007-11-251-1/+1
| | | | | | (closes #10198) [isaacfeliu] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #10256)David Heinemeier Hansson2007-11-251-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve error messages when providing a secret that is too short. Closes ↵Michael Koziarski2007-11-241-4/+5
| | | | | | #10238 [Henrik N] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document that the cookie store is the default session store. Mention the ↵Jeremy Kemper2007-11-222-8/+17
| | | | | | memcached store. Closes #10241 [Josh Susser, Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tests and fix for extension extraction. References #10130 [tarmo]Michael Koziarski2007-11-221-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that cookie sessions use a secret that is at least 30 chars in ↵Michael Koziarski2007-11-211-3/+17
| | | | | | length. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Emphasize the importance of a dictionary attack-proof secret for the cookie ↵David Heinemeier Hansson2007-11-211-1/+4
| | | | | | store git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor cookie_only option to survive multiple requests and add regression ↵Michael Koziarski2007-11-211-3/+7
| | | | | | tests. References #10048. [theflow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that the routing optimisation code isn't used when additional ↵Michael Koziarski2007-11-201-4/+10
| | | | | | arguments are passed to the named route. Closes #10209 [bscofield, Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unnecessary route reload in integration tests, obsoleted by [7676]. ↵Michael Koziarski2007-11-191-1/+0
| | | | | | Closes #10094. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that partial rendering should look at the type of the first render to ↵David Heinemeier Hansson2007-11-181-2/+10
| | | | | | determine its own type if no other clues are available (like when using text.plain.erb as the extension in AM) (closes #10130) [java] Fixed that partials would be broken when using text.plain.erb as the extension #10130 [java] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #10155)David Heinemeier Hansson2007-11-181-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* memoize host with port and refactor the tests which depend on it changingMichael Koziarski2007-11-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unneeded code to disable optimisations. the defined?(request) stuff ↵Michael Koziarski2007-11-171-3/+0
| | | | | | takes care of this now. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only Benchmark and log if we're going to output the information.Michael Koziarski2007-11-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Actually cache the template names.Michael Koziarski2007-11-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that has_many :through associations should render as collections too ↵David Heinemeier Hansson2007-11-121-1/+1
| | | | | | (closes #9051) [mathie/danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepare versions for RC1David Heinemeier Hansson2007-11-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :mouseover short-cut to AssetTagHelper#image_tag for doing easy image ↵David Heinemeier Hansson2007-11-071-4/+15
| | | | | | swaps (closes #6893) [joost] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed handling of non-domain hosts (closes #9479) [purp]David Heinemeier Hansson2007-11-071-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Standardize on using hyphens rather than colons to separate option names ↵Marcel Molina2007-11-065-26/+28
| | | | | | from their explanation in documentation. Replace + with tt tags. Closes #8732. [ryanb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix syntax error in documentation example for cycle method. Closes #8735 [foca]Marcel Molina2007-11-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document :with option for link_to_remote. Closes #8765 [ryanb]Marcel Molina2007-11-061-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document :minute_step option for time_select. Closes #8814 [brupm]Marcel Molina2007-11-061-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Explain how to use the :href option for link_to_remote to degrade gracefully ↵Marcel Molina2007-11-061-0/+11
| | | | | | in the absence of JavaScript. Closes #8911 [vlad] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disambiguate :size option for text area tag. Closes #8955 [redbeard]Marcel Molina2007-11-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas]Marcel Molina2007-11-061-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add documentation for route conditions. Closes #9041 [innu, manfred]Marcel Molina2007-11-061-0/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo left over from previous typo fix in url helper. Closes #9414 [Henrik N]Marcel Molina2007-11-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that ActionController::CgiRequest#host_with_port() should handle ↵David Heinemeier Hansson2007-11-061-3/+3
| | | | | | standard port (closes #10082) [moro] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype to 1.6.0 and script.aculo.us to 1.8.0.Sam Stephenson2007-11-062-29/+61
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8087 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Minor documentation enhancements and white-space fixes. Closes #9819 [chuyeow]Michael Koziarski2007-11-061-144/+144
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make rescue_from behave like rescue when dealing with subclasses. Closes ↵Michael Koziarski2007-11-061-6/+51
| | | | | | #10079 [fxn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Grammatical and whitespace fixes for form helper docs. Closes #10062 [chuyeow]Michael Koziarski2007-11-061-43/+42
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de