Hi, I have a partial that needs to output the database data,
<% for user in @users %>
NoMethodError in Users#create_user
Showing users/_user_list.html.erb where line #1 raised:
You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each
So does that mean the variable @users from the class User is unavailable
in my partial? If so, how do I bring it into context?