Is it possible to get the arguments passed to a partial from within the that partial?
# in some_view.html.haml
= render 'foo_partial', some: "stuff", goes: "here"
# in foo_partial.html.haml
= arguments = ??? # im trying to get this to contain {some: "stuff", goes: "here"}
NOTE To clarify, I wanted to view all the arguments that were passed to the partial.
EDIT 2 I'm not asking how to access the variables, but to get a list of everything that was passed in. Mods, please do not change the code provided as it is an example of my situation. Changing code has implications on the question itself.
Thanks
What I was looking for was
local_assigns