Ruby is case-sensitive. In your first jpeg, change the `PRESENT?` method
to `present?` (on line 16 of your UsersController file)
Your second jpeg is showing that you haven't initialized your @user
object in the index action. You can initialize it in the UsersController
file, in the `index` method.
In your last jpeg, the error is the same error as the first jpeg.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/446c4ab849994bc3a3613ff5e78de735%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment