- 20 9月, 2015 2 次提交
-
-
由 Ryuta Kamizono 提交于
`@connection` in `StatementPool` is only used for PG adapter. No need for abstract `StatementPool` class.
-
由 Kasper Timm Hansen 提交于
Replaced `ThreadSafe::Map` with successor `Concurrent::Map`.
-
- 19 9月, 2015 34 次提交
-
-
由 Yves Senn 提交于
Correcting `NameError` error message in `mattr_reader` method. [ci skip]
-
由 Yves Senn 提交于
Corrected numeric conversions output [ci skip]
-
由 Jerry D'Antonio 提交于
The thread_safe gem is being deprecated and all its code has been merged into the concurrent-ruby gem. The new class, Concurrent::Map, is exactly the same as its predecessor except for fixes to two bugs discovered during the merge.
-
由 amitkumarsuroliya 提交于
-
由 Carlos Antonio da Silva 提交于
Replace `#=>` with `# =>` [ci skip]
-
由 Kasper Timm Hansen 提交于
change test method name to the appropriate name
-
由 yuuji.yaginuma 提交于
-
由 amitkumarsuroliya 提交于
@rafaelfranca suggested in https://github.com/rails/rails/commit/f7c7bcd9c2a8b0e8c2840295d001d2d4dfd4cfae that code examples should display the result after `# =>` and not after `#=>`.
-
由 Xavier Noria 提交于
Fixed unclosed tags in kindle guide source [ci skip]
-
由 Ronak Jangir 提交于
-
由 Arthur Nogueira Neves 提交于
nodoc raw_write_attribute
-
由 Tony Miller 提交于
Is this supposed to be public API? If so, I can document it instead.
📝 -
由 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
-
由 amitkumarsuroliya 提交于
Correcting `NameError` error message in `mattr_reader` method. Since this commit https://github.com/rails/rails/commit/7dfbd91b0780fbd6a1dd9bfbc176e10894871d2d, `NameError` includes attribute_name also in error message [ci skip]
-
由 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 4 次提交
-
-
由 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]
-