- 14 2月, 2014 1 次提交
-
-
由 Ł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 16 次提交
-
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
Also added a `cookies_serializer.rb` initializer to the app template.
-
由 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 提交于
-
由 Rafael Mendonça França 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
-
- 10 2月, 2014 2 次提交
-
-
由 Yves Senn 提交于
This was a reaction to: https://github.com/rails/rails/pull/9700#issuecomment-34550210
-
由 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 7 次提交
-
-
由 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.
-
由 SHIBATA Hiroshi 提交于
-
由 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.
-
由 Zachary Scott 提交于
-
由 Myron Marston 提交于
-
由 Mikko Johansson 提交于
-
由 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.
-
- 07 2月, 2014 1 次提交
-
-
由 Ionatan Wiznia 提交于
-
- 06 2月, 2014 1 次提交
-
-
由 Yves Senn 提交于
/cc @chancancode
-
- 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 4 次提交
-
-
由 Yves Senn 提交于
-
由 Guillermo Iguaran 提交于
Rename allowed options to :marshal and :json, for custom serializers only allow the use of custom classes.
-
由 Guillermo Iguaran 提交于
-
由 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 1 次提交
-
-
由 Aaron Patterson 提交于
-