-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database info show up when listing #56
Comments
Sorry, can you describe it a little depper? The images can't be displayed here because "it contain errors". :P PS: I'm not a member of the team, I'm just a recent user of the gem and I'll try to help if possible.. |
So bacially every time i teied to print the friend one user has,or whatver There should be a list of Thanks for help, really appreciate it Sorry, can you describe it a little depper? The images can't be displayed here because "it contain errors". :P PS: I'm not a member of the team, I'm just a recent user of the gem and — |
Fixed it Thanks anyway |
So basically the database shows up on the page every time i do a listing of friends, invited or pending invites.
My code looks like this
<%= @friends.each do |friend| %>
<%= friend.account %>
<% end %>
and the database info look like:
[#<User id: 1, account: "account1", password_digest: "$2a$10$m3epMrV5Hn5pNPZvo5xx5.wma8zYPbbxWgkpKJz5OtL...", email: "account1@osu.edu", created_at: "2015-04-21 02:17:49", updated_at: "2015-04-21 02:17:49">]
Any ideas?
Thx
The text was updated successfully, but these errors were encountered: