Last active
June 14, 2021 03:31
-
-
Save chrisbloom7/97a4b10a0135008c68b77016c14b0d93 to your computer and use it in GitHub Desktop.
An example report as generated by https://github.com/chrisbloom7/rails-6-action-controller-reserved-methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test result | reserved method | call type | error reported | |
---|---|---|---|---|
Error | :render_to_body | called directly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :render_to_body | called indirectly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :instance_variable_get | called directly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :instance_variable_get | called indirectly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :process | called directly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :process | called indirectly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :logger | called indirectly | SystemStackError: stack level too deep | |
Error | :logger | called directly | SystemStackError: stack level too deep | |
Error | :send_action | called indirectly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :send_action | called directly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :class | called indirectly | SystemStackError: stack level too deep | |
Error | :class | called directly | SystemStackError: stack level too deep | |
Error | :run_callbacks | called directly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :main_app | called indirectly | ActionController::RoutingError: uninitialized constant MainAppController | |
Error | :run_callbacks | called indirectly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :render | called directly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :main_app | called directly | ActionController::RoutingError: uninitialized constant MainAppController | |
Error | :render | called indirectly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :request | called indirectly | SystemStackError: stack level too deep | |
Error | :request | called directly | SystemStackError: stack level too deep | |
Error | :dispatch | called indirectly | ArgumentError: wrong number of arguments (given 3, expected 0) | |
Error | :dispatch | called directly | ArgumentError: wrong number of arguments (given 3, expected 0) | |
Error | :send | called directly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :send | called indirectly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :view_context | called directly | SystemStackError: stack level too deep | |
Error | :view_context | called indirectly | SystemStackError: stack level too deep | |
Error | :headers | called indirectly | SystemStackError: stack level too deep | |
Error | :headers | called directly | SystemStackError: stack level too deep | |
Error | :action_name | called indirectly | SystemStackError: stack level too deep | |
Error | :action_name | called directly | SystemStackError: stack level too deep | |
Error | :details_for_lookup | called directly | SystemStackError: stack level too deep | |
Error | :details_for_lookup | called indirectly | SystemStackError: stack level too deep | |
Error | :rendered_format | called directly | SystemStackError: stack level too deep | |
Error | :rendered_format | called indirectly | SystemStackError: stack level too deep | |
Error | :view_runtime | called directly | AbstractController::DoubleRenderError: Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return". | |
Error | :view_runtime | called indirectly | AbstractController::DoubleRenderError: Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return". | |
Error | :media_type | called indirectly | AbstractController::DoubleRenderError: Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return". | |
Error | :media_type | called directly | AbstractController::DoubleRenderError: Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return". | |
Error | :to_a | called indirectly | AbstractController::DoubleRenderError: Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return". | |
Error | :to_a | called directly | AbstractController::DoubleRenderError: Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return". | |
Error | :view_context_class | called indirectly | SystemStackError: stack level too deep | |
Error | :view_context_class | called directly | SystemStackError: stack level too deep | |
Error | :lookup_context | called directly | SystemStackError: stack level too deep | |
Error | :lookup_context | called indirectly | SystemStackError: stack level too deep | |
Error | :response | called directly | SystemStackError: stack level too deep | |
Error | :response | called indirectly | SystemStackError: stack level too deep | |
Error | :instance_variables | called directly | SystemStackError: stack level too deep | |
Error | :instance_variables | called indirectly | SystemStackError: stack level too deep | |
Error | :method_for_action | called directly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :method_for_action | called indirectly | ArgumentError: wrong number of arguments (given 1, expected 0) | |
Error | :default_form_builder | called directly | SystemStackError: stack level too deep | |
Error | :default_form_builder | called indirectly | SystemStackError: stack level too deep | |
Error | :config | called indirectly | SystemStackError: stack level too deep | |
Error | :view_assigns | called directly | SystemStackError: stack level too deep | |
Error | :config | called directly | SystemStackError: stack level too deep | |
Error | :view_assigns | called indirectly | SystemStackError: stack level too deep | |
Failure | :allow_forgery_protection | called indirectly | Expected: "nothing_special" | |
Error | :db_runtime | called indirectly | SystemStackError: stack level too deep | |
Error | :db_runtime | called directly | SystemStackError: stack level too deep | |
Error | :response_body | called directly | SystemStackError: stack level too deep | |
Error | :response_body | called indirectly | SystemStackError: stack level too deep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment