1. 24 2月, 2014 1 次提交
  2. 23 2月, 2014 1 次提交
  3. 21 2月, 2014 1 次提交
  4. 19 2月, 2014 7 次提交
  5. 18 2月, 2014 1 次提交
  6. 16 2月, 2014 1 次提交
    • K
      Correct prestreaming controller response status. · 8508346d
      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)
      8508346d
  7. 14 2月, 2014 2 次提交
  8. 13 2月, 2014 1 次提交
    • L
      Variant negotiation · f9b6b865
      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
      f9b6b865
  9. 11 2月, 2014 9 次提交
  10. 10 2月, 2014 1 次提交
    • A
      Set the :shallow_path as each scope is generated · 462d7cb3
      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.
      462d7cb3
  11. 09 2月, 2014 3 次提交
  12. 08 2月, 2014 3 次提交
  13. 01 2月, 2014 2 次提交
  14. 31 1月, 2014 1 次提交
  15. 30 1月, 2014 2 次提交
    • G
      Modify the session serializer implementation · fd487860
      Guillermo Iguaran 提交于
      Rename allowed options to :marshal and :json, for custom serializers
      only allow the use of custom classes.
      fd487860
    • L
      Allow session serializer key in config.session_store · b23ffd0d
      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.
      b23ffd0d
  16. 29 1月, 2014 3 次提交
  17. 27 1月, 2014 1 次提交