made the tables.html.erb file in views folder