ruby on rails - Partials not transferring local variable correctly -
This is completely confusing for me error message telling me that the user is undefined and I know that I correct it I am passing through manner Never before and I have never seen this error message what am I doing?
Unloading / show.html.erb
< P>Error:
Edit session controller:
Thanks!
Wrap the variable in the hash of the local people and call using partial assistant. Partial render: "error message", local: {user: @ user}
You can now enter partial code to user
Should be able to reach.
Comments
Post a Comment