aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Updated rdoc to reflect changes to form option helpersTekin Suleyman2009-02-141-11/+61
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#837 state:committed]
* Enhanced form option helpers to add support for disabled option tags and use ↵Tekin Suleyman2009-02-142-4/+115
| | | | | | 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-132-15/+15
| | | | | | | :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-132-16/+48
| | | | | | | | 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-1212-119/+262
|
* Remove space from the test name [#1953 state:resolved]Mike Gunderloy2009-02-121-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Reapply 0d5b3e6Joshua Peek2009-02-101-1/+1
|
* Update vendored rackJoshua Peek2009-02-105-9/+32
|
* Move checkbox hidden field before the actual checkbox so the actual value ↵Joshua Peek2009-02-102-39/+37
| | | | doesn't get clobbered [#1863 state:resolved]
* Fix some edge cases when the same template is called with different local ↵Andrew White2009-02-103-45/+94
| | | | | | assigns Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Make sure vendored rack is at the front of the load pathJoshua Peek2009-02-101-2/+1
|
* Added partial scoping to TranslationHelper#translate, so if you call ↵David Heinemeier Hansson2009-02-103-1/+27
| | | | 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-098-89/+83
| | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Session LazyHash#inspect triggers the hash to loadJoshua Peek2009-02-071-0/+5
|
* Don't add vendored rack to load pathJoshua Peek2009-02-071-2/+1
|
* Update bundled Rack for Ruby 1.9 spec changesJoshua Peek2009-02-0719-51/+51
|
* Deprecate ActionController::Response#set_cookie :http_only option infavor of ↵Joshua Peek2009-02-073-2/+5
| | | | :httponly
* Ruby 1.9 compat: removed redundant nested repeat operatorJoshua Peek2009-02-071-1/+1
|
* ~ backup files don't clobber original templates [#1818 state:resolved]Joshua Peek2009-02-072-14/+15
|
* Move cleanup before prepare_dispatch so that constants are not loaded twice ↵Andrew White2009-02-071-6/+5
| | | | | | [#1898 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Render implicit html template when xhr request now supports localization ↵José Valim2009-02-073-0/+22
| | | | | | [#1886 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Temporarily bundle Rack 1.0 prerelease for testingJoshua Peek2009-02-0760-258/+4900
|
* Added support to dashed locales in templates localization [#1888 state:resolved]José Valim2009-02-065-8/+12
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure session id is set in session options hash [#1880 state:resolved]Joshua Peek2009-02-064-18/+45
|
* 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-063-0/+13
| | | | | | | | 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-062-1/+16
| | | | | | [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Restore stale session check and move after dispatch development cleanups ↵Joshua Peek2009-02-052-8/+24
| | | | before the request
* Use Path rather than EagerPath when cache_classes == false so other view ↵Andrew White2009-02-051-1/+5
| | | | | | paths are properly recompiled in development mode [#1764 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Allowing an object to be passed explicitly to a fields_for with ↵Pascal Ehlert2009-02-062-1/+11
| | | | | | | nested_attributes on one-to-one associations Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1849 state:committed]
* Eliminate unnecessary File.exist? when correct file extension given [#1879 ↵Andrew White2009-02-051-1/+2
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* implicitly rendering a js response should not use the default layout [#1844 ↵Adam McCrea2009-02-053-2/+12
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added tests from Andrew Whites fix [#1385 state:committed]David Heinemeier Hansson2009-02-052-0/+23
|
* Fix a syntax error in current_page?() that was prevent matches against URL's ↵chris finne2009-02-052-3/+38
| | | | | | with multiple query parameters [#1868 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Remove double parenthesis in docsDavid Heinemeier Hansson2009-02-051-1/+1
|
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-0316-2486/+2443
|
* Workaround jruby issue with protected module attr_accessor showing up as ↵Jeremy Kemper2009-02-021-2/+7
| | | | public in included class
* Don't assume ActiveRecord is availableJeremy Kemper2009-02-021-8/+13
|
* Added localized rescue (404.da.html) [#1835 state:committed]José Valim2009-02-024-5/+42
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Template#mime_type should not use Mime::Type when Action Controller is not ↵Pratik Naik2009-02-021-1/+1
| | | | included
* Mark CHANGELOGs for releaseDavid Heinemeier Hansson2009-02-011-1/+1
|
* Use Rack::Head middleware to ensure the body is discarded for HEAD requestsJoshua Peek2009-02-013-0/+18
|
* Remove ancient tests for CGI parsing bugJoshua Peek2009-01-311-30/+0
|
* Removed Prototype specific Safari 2 AJAX hack.Joshua Peek2009-01-312-7/+0
| | | | The normal null character stripper is still there.
* Removed map.resources :only/:except inheritanceTarmo Tänav2009-02-012-31/+47
| | | | | | | | | | 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-013-14/+335
| | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
* Ruby 1.9 compat: omit Rack::Lint from integration tests until it accepts ↵Jeremy Kemper2009-01-311-1/+5
| | | | String headers and bodies
* Fix unsorted array comparisonJeremy Kemper2009-01-312-2/+2
|
* Ruby 1.9 compat: work around that String is not EnumerableJeremy Kemper2009-01-312-2/+6
|