Problem with displaying usernames in my flash[:notice] - Agile Web Development With Rails - Chapter
- by Lee
I can't figure out what I'm doing wrong here.
I can’t seem to get the #{@user.name} to work in my flash[:notice]
Everything else works just fine I can add new users, but when I add a new user instead of saying “User John Doe was successfully created”, it says “User #{@user.name} was successfully created.”
I'm at this point in the depot app: depot_p/app/controllers/users_controller.rb to work.