Ok so I have a profile page on my website. In the database I have all
the information about the user, including the username, first and last
names, passwords, and descriptions, locations, and any other
information. Now what code would I need, to get the data from the table
“users” depending on who is logged into the system. Say “Bob” is logged
in, how do I get ruby to look for “Bob” in users and, let’s say, display
the user’s current location and/or First and Last name.
And don’t be too harsh, I’m completely new to RoR and still trying to
get stuff to “make sense”.