Tuples from postgresql not getting extracted onto the webpage using rails : stack overflow! I'm a newbie to using ROR. I'm trying to develop a simple blog app using rails 5.0.1 and psql. 
The problem is that,although 3 tuples are stored in the db(I checked it),when I extract it using "@posts=Post.all "command, only 3 horizontal lines occur(I.e the 3 tuples are scanned but not displayed). 
The code : 
                      <% @posts.each do |post| %>
                     <h3> <%= post.title %></h3><hr/>
                      <p><%= post.body %></p>
                      <% end %>
The index view : (https://i.stack.imgur.com/1UtDq.jpg)
The psql db : (https://i.stack.imgur.com/htx52.jpg)
Can someone please help?