aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Pass a custom form builder on to nested fields_for calls. [#2023 ↵Eloy Duran2009-02-271-0/+41
| | | | | | status:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* missed template fixtures with ~Joshua Peek2009-02-243-0/+3
|
* Template without a known template handler should only be reachable through ↵thedarkone2009-02-241-0/+10
| | | | | | its exact path. [#2027 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* correctly handle layouts for AJAX requests and regular js files [#2052 ↵Matt Jones2009-02-242-4/+7
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Don't depend on project.developers orderingJeremy Kemper2009-02-211-2/+2
|
* Expected cookie value should also be escaped.moro2009-02-211-1/+1
| | | | | | | | Ruby 1.9 compat for test. [#1965 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix requirements regexp for path segmentsAndrew White2009-02-221-0/+24
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1772 state:committed]
* Remove hardcoded number_of_capturesin ControllerSegment to allow regexp ↵Andrew White2009-02-221-0/+9
| | | | | | | requirements with capturing parentheses Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1887 state:committed]
* fix test data, should specify encoding to use multibyte chars on Ruby 1.9moro2009-02-201-0/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* make action_controller/layouts pick templates from the current instance's ↵Sven Fuchs2009-02-202-0/+14
| | | | | | view_paths instead of the class view_paths [#1974 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Move development mode reloading up the stack to avoid issues with class ↵Joshua Peek2009-02-201-5/+8
| | | | reloading in middleware
* Lazy evaluate middleware arguments [#2028 state:resolved]Sven Fuchs2009-02-201-0/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Lazy evaluate ActionController session store middleware class to pickup ↵Joshua Peek2009-02-191-0/+7
| | | | custom plugin session stores [#2001 state:resolved]
* Fix templates reloading in development when using custom view path [#2012 ↵Joshua Peek2009-02-192-40/+114
| | | | state:resolved]
* Fixed http digest authentication to use credentials URI passed from client. ↵Donald Parish2009-02-161-1/+10
| | | | | | [#1848 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Enhanced form option helpers to add support for disabled option tags and use ↵Tekin Suleyman2009-02-141-0/+84
| | | | | | of anonymous functions for specifying selected and disabled values from collections. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* DRY up form option helper testsTekin Suleyman2009-02-141-78/+19
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Stops date select helpers from defaulting the selected date to today if ↵Sam Oliver2009-02-131-14/+14
| | | | | | | :prompt option has been used Signed-off-by: Michael Koziarski <michael@koziarski.com> [#561 state:resolved]
* Changed API of NestedAttributes to take an array, or hash with index keys, ↵Lance Ivy2009-02-131-8/+30
| | | | | | | | of hashes that have the id on the inside of the attributes hash and updated the FormBuilder to produce such hashes. Also fixed NestedAttributes with composite ids. Signed-off-by: Michael Koziarski <michael@koziarski.com> Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> [#1892 state:committed]
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-124-30/+73
|
* Remove space from the test name [#1953 state:resolved]Mike Gunderloy2009-02-121-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move checkbox hidden field before the actual checkbox so the actual value ↵Joshua Peek2009-02-101-38/+34
| | | | doesn't get clobbered [#1863 state:resolved]
* Fix some edge cases when the same template is called with different local ↵Andrew White2009-02-101-32/+54
| | | | | | assigns Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added partial scoping to TranslationHelper#translate, so if you call ↵David Heinemeier Hansson2009-02-101-0/+6
| | | | translate('.foo') from the people/index.html.erb template, you'll actually be calling I18n.translate(people.index.foo) [DHH]
* Improve view rendering performance in development mode and reinstate ↵Andrew White2009-02-092-33/+24
| | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Update bundled Rack for Ruby 1.9 spec changesJoshua Peek2009-02-073-10/+12
|
* Deprecate ActionController::Response#set_cookie :http_only option infavor of ↵Joshua Peek2009-02-071-1/+1
| | | | :httponly
* ~ backup files don't clobber original templates [#1818 state:resolved]Joshua Peek2009-02-071-0/+1
|
* Render implicit html template when xhr request now supports localization ↵José Valim2009-02-072-0/+20
| | | | | | [#1886 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Temporarily bundle Rack 1.0 prerelease for testingJoshua Peek2009-02-072-5/+4
|
* Added support to dashed locales in templates localization [#1888 state:resolved]José Valim2009-02-064-7/+11
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure session id is set in session options hash [#1880 state:resolved]Joshua Peek2009-02-062-1/+36
|
* Test AR integration with jdbcsqlite3 adapter on jrubyJeremy Kemper2009-02-061-1/+2
|
* Ruby 1.9 compat: change encoding of action_view/renderable to utf-8, so erb ↵Eugene Pimenov2009-02-062-0/+11
| | | | | | | | templates can use utf-8 properly [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 compat: call bytesize for content_lengthEugene Pimenov2009-02-061-0/+15
| | | | | | [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allowing an object to be passed explicitly to a fields_for with ↵Pascal Ehlert2009-02-061-0/+9
| | | | | | | nested_attributes on one-to-one associations Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1849 state:committed]
* implicitly rendering a js response should not use the default layout [#1844 ↵Adam McCrea2009-02-052-1/+11
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added tests from Andrew Whites fix [#1385 state:committed]David Heinemeier Hansson2009-02-051-0/+21
|
* Fix a syntax error in current_page?() that was prevent matches against URL's ↵chris finne2009-02-051-1/+13
| | | | | | with multiple query parameters [#1868 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-0316-2486/+2443
|
* Added localized rescue (404.da.html) [#1835 state:committed]José Valim2009-02-022-0/+26
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Use Rack::Head middleware to ensure the body is discarded for HEAD requestsJoshua Peek2009-02-011-0/+14
|
* Remove ancient tests for CGI parsing bugJoshua Peek2009-01-311-30/+0
|
* Removed Prototype specific Safari 2 AJAX hack.Joshua Peek2009-01-311-6/+0
| | | | The normal null character stripper is still there.
* Removed map.resources :only/:except inheritanceTarmo Tänav2009-02-011-15/+28
| | | | | | | | | | It's very rare for these options to apply identically to nested child resources, and with this inheritance on it's very difficult to have a child resource with more actions than the parent. This reverts commit 2ecec6052f7f290252a9fd9cc27ec804c7aad36c. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1826 state:committed]
* Add support for nested object forms to ActiveRecord and the helpers in ↵Eloy Duran2009-02-011-5/+136
| | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
* Fix unsorted array comparisonJeremy Kemper2009-01-312-2/+2
|
* Controller, response, and request should all refer to same session, even ↵Scott Taylor2009-01-291-0/+23
| | | | | | after a call to session_reset [#1823 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Deprecation tests for f17c876 [#1801 state:resolved]Mike Gaffney2009-01-291-0/+58
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added grouped_options_for_select helper method for wrapping option tags in ↵Jon Crawford2009-01-291-0/+26
| | | | | | optgroups. [#977 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>