title: Show last record in db table Rails .last method
body: <p>I have 2 tables with a relation between them:</p>
  
  <p>Users table: user_id, </p>
  
  <p>Blogs table: user_id, blog_content,</p>
  
  <p>Im working with a view that should show a users latest blog entry.. When I use</p>
  
  <p>&lt;%= @users.blogs.last %> </p>
  
  <p>I get "#"</p>
  
  <p>Can someone assist as to why its showing "#" and how to actually show the the last blog entry made by a @user?</p>
  
  <p>Many thanks!!</p>