aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Simplify benchmarking and rescue". Need a different approach.Pratik Naik2008-11-203-63/+68
| | | | This reverts commit 3be9134d1cb882f4be3be8d57b2f8bde5ecde887.
* Simplify benchmarking and rescuePratik Naik2008-11-203-68/+63
|
* Remove deprecated ActionController::Base#assign_default_content_type_and_charsetPratik Naik2008-11-192-5/+2
|
* Assume that the next version is going to be 2.3 for nowDavid Heinemeier Hansson2008-11-193-4/+4
|
* Changed the default of ActionView#render to assume partials instead of files ↵David Heinemeier Hansson2008-11-196-325/+4
|\ | | | | | | when not given an options hash [DHH]
| * Remove deprecated render_component. Please use the plugin from ↵Pratik Naik2008-11-196-325/+4
| | | | | | | | http://github.com/rails/render_component/tree/master
* | Changed the default of ActionView#render to assume partials instead of files ↵David Heinemeier Hansson2008-11-196-22/+87
|/ | | | when not given an options hash [DHH]
* Let polymorphic_path treat an array contains single name as without array ↵Hiroshi Saito2008-11-192-0/+7
| | | | | | [#1386 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Make optimized named routes respect all reserved options and tie it into ↵Gabe da Silveira2008-11-183-9/+12
| | | | | | UrlRewriter::RESERVED_OPTIONS so it's DRY Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix rendering html partial via inline render when with :js format [#1399 ↵Luke Melia2008-11-183-1/+17
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Register 'checked' as an HTML boolean attribute.Hongli Lai (Phusion)2008-11-182-1/+2
| | | | | | | | | | | | | | | This way, 'tag :foo, :type => "checkbox", :checked => false' would output the expected <input type="checkbox" /> instead of the old <input type="checkbox" checked="false" /> The latter would result in a checkbox that's initially checked. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove duplicate distribution of prototype and scriptaculous.Michael Koziarski2008-11-184-7384/+0
| | | | This was previously needed by define_javascript_functions which has been removed for a while.
* Remove mention of long-dead define_javascript_functionsMichael Koziarski2008-11-181-3/+0
|
* Update Prototype to 1.6.0.3 and update script.aculo.us to 1.8.2Thomas Fuchs2008-11-184-520/+628
|
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-187-44/+44
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Prevent assert_template failures when a render :inline is called before ↵Luke Melia2008-11-172-10/+22
| | | | | | rendering a file-based template [#1383 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵David Heinemeier Hansson2008-11-171-8/+1
| | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH]
* Fixed RedCloth and BlueCloth shouldn't preload. Instead just assume that ↵David Heinemeier Hansson2008-11-172-81/+74
| | | | they're available if you want to use textilize and markdown and let autoload require them [DHH]
* Add text/plain to the browser_generated_types array as webkit and gecko can ↵Michael Koziarski2008-11-161-2/+2
| | | | | | | | submit them. For more information see: http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/
* Merge branch 'master' into testingJeremy Kemper2008-11-1518-186/+601
|\
| * auto_link helper: add intelligent ending closing bracket handling. add new ↵Mislav Marohnić2008-11-152-56/+94
| | | | | | | | | | | | | | tests and reorder new ones for readability Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1353 state:committed]
| * refactor autolink helper. change tests to expect HTML-escaped URLsMislav Marohnić2008-11-152-39/+44
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Missing changelogs for relative_url_root changesMichael Koziarski2008-11-141-0/+2
| |
| * Missing changelog for CSRF changesMichael Koziarski2008-11-141-0/+6
| |
| * Missing changelog for :only/:except on map.resourcesMichael Koziarski2008-11-141-0/+2
| |
| * A few more dependency updatesDavid Heinemeier Hansson2008-11-141-1/+1
| |
| * Merge docrails.Pratik Naik2008-11-141-3/+3
| |
| * Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-11-142-19/+40
| |\
| | * Make inheritance of map.resources :only/:except options behave more predictablyTom Stuart2008-11-142-19/+40
| | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * | Prepare for RC2David Heinemeier Hansson2008-11-142-2/+4
| |/
| * Make polymorphic_url compact given array [#1317 state:committed]hiroshi2008-11-143-1/+14
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Tag helper should output an attribute with the value 'false' instead of ↵Hongli Lai (Phusion)2008-11-133-5/+11
| | | | | | | | omitting the attribute, if the associated option is false but not nil.
| * Fix map.resources to always generate named routes if they're neededTom Stuart2008-11-132-6/+85
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Instead of overriding html_types, base the verification on ↵Michael Koziarski2008-11-132-7/+20
| | | | | | | | | | | | | | | | browser_generated_types. Also Deprecate the old unverifiable types. [#1145 state:committed]
| * fix two MimeType failing test casesrick2008-11-132-7/+10
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Changed request forgery protection to only worry about HTML-formatted ↵Jeff Cohen2008-11-134-55/+70
| | | | | | | | | | | | content requests. Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Add :only/:except options to map.resourcesTom Stuart2008-11-122-37/+247
| | | | | | | | | | | | | | This allows people with huge numbers of resource routes to cut down on the memory consumption caused by the generated code. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1215 state:committed]
* | Merge branch 'master' into testingJeremy Kemper2008-11-114-34/+53
|\|
| * Eliminate excess Regexp creation due to capture countingJeremy Kemper2008-11-102-4/+26
| |
| * Pare down object creation during route buildingJeremy Kemper2008-11-102-30/+27
| |
* | Ruby 1.9 compat: rescue Exception since minitest's assertion doesn't ↵Jeremy Kemper2008-11-081-2/+2
| | | | | | | | subclass StandardError
* | Wrap straggling mocha user with uses_mocha blockJeremy Kemper2008-11-081-5/+7
| |
* | Ruby 1.9 compat: CGI switched back to TempfileJeremy Kemper2008-11-081-10/+4
| |
* | Workaround lack of Mocha on 1.9 (hasn't been updated for minitest yet)Jeremy Kemper2008-11-081-1/+2
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-081-0/+46
|\|
| * Add some basic controller logging testsPratik Naik2008-11-081-0/+46
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-071-0/+1
|\|
| * Work around ruby 1.9 segfaultJeremy Kemper2008-11-071-0/+1
| |
| * Don't worry about attribute orderingJeremy Kemper2008-11-071-1/+2
| |
| * Check whether last arg is a Hash instead of duck-typing against []Jeremy Kemper2008-11-071-4/+9
| |