aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Changed the default of ActionView#render to assume partials instead of files ↵David Heinemeier Hansson2008-11-192-7/+48
| | | | when not given an options hash [DHH]
* Let polymorphic_path treat an array contains single name as without array ↵Hiroshi Saito2008-11-191-0/+1
| | | | | | [#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-182-6/+3
| | | | | | 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-181-1/+2
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Register 'checked' as an HTML boolean attribute.Hongli Lai (Phusion)2008-11-181-1/+1
| | | | | | | | | | | | | | | 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-183-3/+3
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Prevent assert_template failures when a render :inline is called before ↵Luke Melia2008-11-171-1/+3
| | | | | | 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-171-81/+69
| | | | 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-159-75/+136
|\
| * auto_link helper: add intelligent ending closing bracket handling. add new ↵Mislav Marohnić2008-11-151-9/+13
| | | | | | | | | | | | | | 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-151-26/+20
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Merge docrails.Pratik Naik2008-11-141-3/+3
| |
| * Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-11-141-19/+14
| |\
| | * Make inheritance of map.resources :only/:except options behave more predictablyTom Stuart2008-11-141-19/+14
| | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * | Prepare for RC2David Heinemeier Hansson2008-11-141-1/+1
| |/
| * Make polymorphic_url compact given array [#1317 state:committed]hiroshi2008-11-141-1/+1
| | | | | | | | 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-131-4/+6
| | | | | | | | 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-131-6/+7
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Instead of overriding html_types, base the verification on ↵Michael Koziarski2008-11-131-4/+17
| | | | | | | | | | | | | | | | browser_generated_types. Also Deprecate the old unverifiable types. [#1145 state:committed]
| * fix two MimeType failing test casesrick2008-11-131-1/+4
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Changed request forgery protection to only worry about HTML-formatted ↵Jeff Cohen2008-11-133-3/+4
| | | | | | | | | | | | content requests. Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Add :only/:except options to map.resourcesTom Stuart2008-11-121-37/+85
| | | | | | | | | | | | | | 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
| |
| * Check whether last arg is a Hash instead of duck-typing against []Jeremy Kemper2008-11-071-4/+9
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-072-3/+2
|\|
| * Simplify dispatcher callbacks to eliminate unnecessary stale thread purging. ↵Nick Sieger2008-11-081-1/+0
| | | | | | | | | | | | [Nick Sieger, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * auto_link view helper was failing on URLs with colons after a query paramRich Manalang2008-11-071-2/+2
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1341 state:committed]
* | Check whether last arg is a Hash instead of duck-typing against []Jeremy Kemper2008-11-071-4/+9
| |
* | Move controller assertions from base TestCase to AC:: and AV::TestCaseJeremy Kemper2008-11-074-37/+34
| |
* | Remove controller assertions from Test::Unit::TestCase. Use ↵Jeremy Kemper2008-11-073-71/+58
|/ | | | ActionController::TestCase.
* Don't eval recognize_optimized use __FILE__ and __LINE__ in the optimised ↵Aliaksey Kandratsenka2008-11-061-1/+1
| | | | | | | | | recognition code. It produces meaningless line numbers. This also easily produces line numbers greater than recognition_optimization.rb have, which causes rcov to trash memory outside of it's coverage counting arrays. [#1319 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix stupid typoMichael Koziarski2008-11-061-1/+1
|
* Fixed the sanitize helper to avoid double escaping already properly escaped ↵David Heinemeier Hansson2008-11-061-1/+1
| | | | entities [#683 state:committed]
* Dont bother logging the parameters hash if there are no parametersDavid Heinemeier Hansson2008-11-061-1/+1
|
* Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵Vladimir Dobriakov2008-11-041-4/+10
| | | | | | brackets [#1238 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix regression bug that made date_select and datetime_select raise a Null ↵Bernardo de Pádua2008-11-041-2/+2
| | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Dont log the _method attribute either. Its already available in the headerDavid Heinemeier Hansson2008-11-044-26/+30
|\
| * Remove unused debug_routesPratik Naik2008-11-021-6/+0
| |
| * Dont dup params twice when filter_parameters is presentPratik Naik2008-11-021-2/+2
| |
| * Dont document internalsPratik Naik2008-11-021-3/+0
| |
| * Backwards compatibility fixes for relative_url_rootMichael Koziarski2008-11-022-6/+4
| | | | | | | | | | * Make the old deprecated relative_url_root still set the value as it's still used by mongrel * Set the default from the ENV value when the file is required, not at runtime.
| * Merge with docrailsPratik Naik2008-11-022-5/+8
| |
| * Cleaned up route optimisation guard condition generation code as it was ↵Tom Lea2008-11-011-7/+19
| | | | | | | | | | | | | | | | getting a little messy. Add additional condition to handle the case where default_url_options is only defined in the controller, not the view. Signed-off-by: Michael Koziarski <michael@koziarski.com>