Chapter 11, Task F, #{@user.name} not working in flash notice posted by Lee...
Hi, I can’t seem to get the #{@user.name} that was added to depot_p/app/controllers/users_controller.rb to work. Everything else works just fine I can add new users, but when I add a new user instead...
View ArticleChapter 11, Task F, #{@user.name} not working in flash notice posted by Lee...
Ok, I figured this out. Flash notices must be in double quotes, not single quotes. I had flash[:notice] = ‘User #{@user.name} was successfully created.’ when it should have been flash[:notice] = “User...
View Article
More Pages to Explore .....