aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Deprecate ActionController::Response#set_cookie :http_only option infavor of ↵Joshua Peek2009-02-072-1/+4
| | | | :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-071-14/+14
|
* 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-071-0/+2
| | | | | | [#1886 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Temporarily bundle Rack 1.0 prerelease for testingJoshua Peek2009-02-0758-253/+4896
|
* Added support to dashed locales in templates localization [#1888 state:resolved]José Valim2009-02-061-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure session id is set in session options hash [#1880 state:resolved]Joshua Peek2009-02-062-17/+9
|
* Ruby 1.9 compat: change encoding of action_view/renderable to utf-8, so erb ↵Eugene Pimenov2009-02-061-0/+2
| | | | | | | | 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-1/+1
| | | | | | [#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-061-1/+2
| | | | | | | 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-051-1/+1
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix a syntax error in current_page?() that was prevent matches against URL's ↵chris finne2009-02-051-2/+25
| | | | | | 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
|
* 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-021-5/+11
| | | | 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
* Use Rack::Head middleware to ensure the body is discarded for HEAD requestsJoshua Peek2009-02-012-0/+4
|
* Removed Prototype specific Safari 2 AJAX hack.Joshua Peek2009-01-311-1/+0
| | | | The normal null character stripper is still there.
* Removed map.resources :only/:except inheritanceTarmo Tänav2009-02-011-16/+19
| | | | | | | | | | 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-9/+187
| | | | | | | | 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
* Ruby 1.9 compat: work around that String is not EnumerableJeremy Kemper2009-01-312-2/+6
|
* Controller, response, and request should all refer to same session, even ↵Scott Taylor2009-01-291-4/+19
| | | | | | after a call to session_reset [#1823 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Digest#validate_digest_response should accept request instead of controllerPratik Naik2009-01-291-6/+6
|
* Added grouped_options_for_select helper method for wrapping option tags in ↵Jon Crawford2009-01-291-0/+56
| | | | | | optgroups. [#977 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Implement HTTP Digest authentication. [#1230 state:resolved] [Gregg Kellogg, ↵Gregg Kellogg2009-01-292-25/+175
| | | | | | Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Using the highlight helper on text with html shouldn't highlight text inside ↵Dan Weinand2009-01-281-1/+1
| | | | | | html attributes. [#1302 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure selected option is not ignored for collection_select. [#1037 ↵Daniel Rodríguez Troitiño2009-01-281-1/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure that when UrlWriter is included in multiple classes, the ↵Nathan de Vries2009-01-281-6/+3
| | | | | | default_url_options of one don't affect the other. [#1277 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Session cookie header should always be set if :expire_after option is specifiedPratik Naik2009-01-282-4/+8
|
* Use toplevel reference to ::StringIO since we're in a BasicObject.Jeremy Kemper2009-01-271-2/+2
|
* Fix for sweepers method_missing missing &block argument [#1581 status:committed]Tys von Gaza2009-01-271-2/+2
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Restore implicit rendering for XHR requests that want a HTML template [#1590 ↵Joshua Peek2009-01-271-0/+3
| | | | state:resolved]
* Fixed deprecated methods on TestSession [#1801 state:resolved]Joshua Peek2009-01-272-17/+21
|
* Dont use Memoizable for ActionController::RequestPratik Naik2009-01-272-34/+23
|
* Improve i18n support for number_to_human_size helper:Yaroslav Markin2009-01-272-18/+40
| | | | | | | | | | | | * now using pluralization properly * storage unit translations moved to number.human.storage_units.units * introduced number.human.storage_units.format for languages that do not follow "{{number}} {{unit}}" format (Japanese) NOTE: I18n table changed, you will need to update your translations. [#1634 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure the full path is used when searching for layouts [#1803 state:resolved]Joshua Peek2009-01-271-1/+1
|
* Fix for failing ActionMailer multipart testsJoshua Peek2009-01-261-2/+2
|
* Add localized templatesJoshua Peek2009-01-252-15/+47
| | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* Setup ActiveRecord QueryCache middleware in the initializerJoshua Peek2009-01-211-5/+3
|
* Missed RequestParser in ff0a267Joshua Peek2009-01-211-1/+0
|
* Allow empty files to be uploadedJoshua Peek2009-01-201-1/+1
|
* Add MiddlewareStack#swapJoshua Peek2009-01-201-5/+10
| | | | config.middleware.swap ActionController::Session::CookieStore, MySessionStore
* Don't let empty Tempfiles come through as uploaded files [#1785 state:resolved]Mislav Marohnić2009-01-201-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Restore cookie store httponly default to true. Remove extraneous dup of ↵Cody Fauser2009-01-201-3/+1
| | | | | | options on initialization [#1784 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>