- 19 9月, 2015 21 次提交
-
-
由 Aaron Patterson 提交于
This can still be added to the middleware stack, but is really not necessary. I'll follow up with a commit that deprecates the constant
-
由 Aaron Patterson 提交于
* pp: remove outdated comment all parameter parsing is done through the request object now. let the request object handle parsing XML posts remove setting request parameters for JSON requests remove the request parameter from `parse_formatted_parameters` do not instantiate a param parser middleware push the parameter parsers on to the class stop eagerly parsing parameters only wrap the strategy with exception handling pull `normalize_encode_params` up remove the `default` parameter from the parser method move parameter parsing to the request object
-
由 Aaron Patterson 提交于
all parameter parsing is done on the request object now, so we don't need to worry about at ParamParser middleware
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
The test request object will handle parsing XML posts now, so we don't need to eagerly parse them in the test harness
-
由 Aaron Patterson 提交于
The request object will automatically parse these in the `parse_formatted_parameters` method, so we don't have to worry about it.
-
由 Aaron Patterson 提交于
This is an instance method on the request object now so we don't need it anymore
-
由 Aaron Patterson 提交于
we don't actually need a param parser middleware instance since the request object will take care of parsing parameters for us. For now, we'll just configure the parameter parsers on the request in this class.
-
由 Kasper Timm Hansen 提交于
Include interpolation values to translation_missing helper
-
由 Kasper Timm Hansen 提交于
Added test for `any` if called without specifying any format
-
由 Xavier Noria 提交于
-
由 Aaron Patterson 提交于
The middleware stack is a singleton in the application (one instance is shared for the entire application) which means that there was only one opportunity to set the parameter parsers. Since there is only one set of parameter parsers in an app, lets just configure them on the request class (since that is where they are used).
-
由 Aaron Patterson 提交于
Parameters will not be parsed until they are specifically requested via the `request_parameters` method.
-
由 Aaron Patterson 提交于
we need to be more specific about exception handling when dealing with the parse strategies. The calls to `return yield` can also raise an exception, but we don't want to handle that in *this* code.
-
由 Aaron Patterson 提交于
`normalize_encode_params` is common to all parser code paths, so we can pull that up and always apply it before assigning the request parameters
-
由 Aaron Patterson 提交于
since there is only one "default" strategy now, we can just use the block parameter for that.
-
由 Aaron Patterson 提交于
All parameter parsing should be on the request object because the request object is the object that we ask for parameters.
-
由 Ronak Jangir 提交于
Example ````ruby mail(hash) do |format| format.any end ````
-
由 Kir Shatrov 提交于
-
由 Godfrey Chan 提交于
DRY enum conflict detection
-
由 Ronak Jangir 提交于
-
- 18 9月, 2015 10 次提交
-
-
由 Kasper Timm Hansen 提交于
Corrected `to_time` output in ActiveSupport Date Conversion docs [ci …
-
由 amitkumarsuroliya 提交于
Corrected `to_time` output in ActiveSupport Date Conversion docs.Since https://github.com/rails/rails/commit/48583f8bf74d1cefefea3cd6591bd546a9eaff6c, to_time returns times formatted as YYYY-MM-DD HH:MM:SS UTC [ci skip] `to_time` method now returns in `YYYY-MM-DD HH:MM:SS UTC` format.
-
由 Vijay Dev 提交于
-
由 Akira Matsuda 提交于
[ci skip]
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Arthur Nogueira Neves 提交于
Correct ArgumentError message in ActiveSupport conversions docs [ci s…
-
由 amitkumarsuroliya 提交于
This was happened after this commit https://github.com/rails/rails/commit/2ebf47aea21ff8ac10681e53e78dd7a0e5c31c6e
-
由 Rafael Mendonça França 提交于
Change AbstractRequest to ActionDispatch::Request
-
由 Bradley D 提交于
AbstractRequest has been deprecated, updating to refer to ActionDispatch::Request instead. [ci skip]
-
- 17 9月, 2015 9 次提交
-
-
由 Andrew White 提交于
When used by ActionMailer, ActionView should automatically use the correct MIME type just as it does when used by ActionDispatch
-
由 Andrew White 提交于
Improve Docs of ActiveSupport::TimeZone [ci skip]
-
由 Andrew White 提交于
Fix displaying mailer previews on non local requests.
-
由 Arthur Nogueira Neves 提交于
[ci skip] Remove useless "@api public/private"
-
由 Yves Senn 提交于
Fixed helpers submit button Examples [ci skip]
-
由 Yves Senn 提交于
`restrict_with_error` message will now respect owner’s human name
-
由 yui-knk 提交于
Other public APIs do not have these annotations.
-
由 shingo.nakanishi 提交于
-
由 Wojciech Wnętrzak 提交于
When config `action_mailer.show_previews` is set, previews are displayed regardless of local request check.
-