From 11b9e8752aeaca7e9b58d2c7ea8ca67e5e41777c Mon Sep 17 00:00:00 2001 From: YOUR NAME Date: Thu, 9 Nov 2017 22:08:45 +1100 Subject: [PATCH] included address in seed --- app/views/listings/index.html.erb | 5 ++++- db/seeds.rb | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/listings/index.html.erb b/app/views/listings/index.html.erb index 88a7b76..9fe6871 100644 --- a/app/views/listings/index.html.erb +++ b/app/views/listings/index.html.erb @@ -10,6 +10,7 @@ + <% @listings.each do |listing| %> - + + <%= listing.number_of_bedrooms %> + <%= listing.address %>