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 Enter image details here

< P> Enter image details here

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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -