- 24 2月, 2014 1 次提交
-
-
由 Serj L 提交于
Simple Sungularize ActionController::UnpermittedParameters error in case when only 1 parameter is unpermitted.
-
- 23 2月, 2014 1 次提交
-
-
由 Yves Senn 提交于
-
- 21 2月, 2014 1 次提交
-
-
由 Joan Karadimov 提交于
closes #14125
-
- 19 2月, 2014 7 次提交
-
-
由 robertomiranda 提交于
ref #14062
-
由 Rafael Mendonça França 提交于
-
由 Prem Sichanugrist 提交于
Setting this attribute to `true` will remove the content type header from the request. This is use in `render :body` feature.
-
由 Prem Sichanugrist 提交于
-
由 Prem Sichanugrist 提交于
This is an option for to HTML content with a content type of `text/html`. This rendering option calls `ERB::Util.html_escape` internally to escape unsafe HTML string, so you will have to mark your string as html safe if you have any HTML tag in it. Please see #12374 for more detail.
-
由 Prem Sichanugrist 提交于
This is as an option to render content with a content type of `text/plain`. This is the preferred option if you are planning to render a plain text content. Please see #12374 for more detail.
-
由 Prem Sichanugrist 提交于
This is an option for sending a raw content back to browser. Note that this rendering option will unset the default content type and does not include "Content-Type" header back in the response. You should only use this option if you are expecting the "Content-Type" header to not be set. More information on "Content-Type" header can be found on RFC 2616, section 7.2.1. Please see #12374 for more detail.
-
- 18 2月, 2014 1 次提交
-
-
由 KalabiYau 提交于
Was custom_proxies in inline docs, but should be and defined in constructor as custom_proxies
-
- 16 2月, 2014 1 次提交
-
-
由 Kevin Casey 提交于
if the controller action has not yet streamed any data, actions should process as normal, and errors should trigger the appropriate behavior (500, or in the case of ActionController::BadRequest, a 400 Bad Request)
-
- 14 2月, 2014 2 次提交
-
-
由 David Heinemeier Hansson 提交于
No variant should also be picked up by variant.any if variant.none is not defined (just like any other variant)
-
由 Łukasz Strzałkowski 提交于
-
- 13 2月, 2014 1 次提交
-
-
由 Lukasz Strzalkowski 提交于
Allow setting `request.variant` as an array - an order in which they will be rendered. For example: request.variant = [:tablet, :phone] respond_to do |format| format.html.none format.html.phone # this gets rendered end
-
- 11 2月, 2014 9 次提交
-
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Guillermo Iguaran 提交于
Stringify the incoming as well to handle incoming symbol keys from marshalled sessions
-
由 Guillermo Iguaran 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
- 10 2月, 2014 1 次提交
-
-
由 Andrew White 提交于
If we set :shallow_path when shallow is called it can result in incorrect paths if the resource is inside a namespace because namespace itself sets the :shallow_path option to the namespace path. We fix this by removing the :shallow_path option from shallow as that should only be turning shallow routes on and not otherwise affecting the scope. To do this we need to treat the :shallow option to resources differently to other scope options and move it to before the nested block is called. This change also has the positive side effect of making the behavior of the :shallow option consistent with the shallow method. Fixes #12498.
-
- 09 2月, 2014 3 次提交
-
-
由 Zachary Scott 提交于
Since it's already required in the file, we don't need to use autoload too. This commit is symmetrical change to 0b101804 for Response.
-
由 Dan Kang 提交于
Returning `self` from within the array returned by `to_ary` caused this. Instead, we can just substitute another object. It provides the `each` behavior required by the rack spec.
-
由 Godfrey Chan 提交于
cc @senny
-
- 08 2月, 2014 3 次提交
-
-
由 Robin Dupret 提交于
Since the language in code blocks is inferred, if the code contains tt tags, the block will be parsed as XML for instance while it is Ruby.
-
由 Yves Senn 提交于
-
由 Philipe Fatio 提交于
Previously, requiring action_view/view_paths did cause an uninitialized constant error for ENCODING_FLAG, which is defined in action_view.
-
- 01 2月, 2014 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
We can just require the file rather than going through the autoload indirection
-
- 31 1月, 2014 1 次提交
-
-
由 Josh Jordan 提交于
-
- 30 1月, 2014 2 次提交
-
-
由 Guillermo Iguaran 提交于
Rename allowed options to :marshal and :json, for custom serializers only allow the use of custom classes.
-
由 Lukasz Sarnacki 提交于
MessageEncryptor has :serializer option, where any serializer object can be passed. This commit make it possible to set this serializer from configuration level. There are predefined serializers (:marshal_serializer, :json_serialzier) and custom serializer can be passed as String, Symbol (camelized and constantized in ActionDispatch::Session namepspace) or serializer object. Default :json_serializer was also added to generators to provide secure defalt.
-
- 29 1月, 2014 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Lukasz Sarnacki 提交于
deep_munge solves CVE-2013-0155 security vulnerability, but its behaviour is definately confuisng. This commit adds logging to deep_munge. It logs keys for which values were set to nil. Also mentions in guides were added.
-
- 27 1月, 2014 1 次提交
-
-
由 Andrew White 提交于
The request attributes filtered_parameters, filtered_env and filtered_path are memoized for performance reasons. However this can cause unusual behavior in tests where there are multiple calls to get, post, etc. Fixes #13803.
-