<%= @menu %>
wiill show
[{"id"=>2, "name"=>"Asian", "ingredients"=>"noodles rice", "healthy"=>false, "username"=>"me", "email"=>"[email protected]", "created_at"=>"2019-02-08T21:21:23.309Z", "updated_at"=>"2019-02-08T21:21:23.309Z"},
Answers to your questions
<%= @menu %>
wiill show
[{"id"=>2, "name"=>"Asian", "ingredients"=>"noodles rice", "healthy"=>false, "username"=>"me", "email"=>"[email protected]", "created_at"=>"2019-02-08T21:21:23.309Z", "updated_at"=>"2019-02-08T21:21:23.309Z"},
`<%= %>` will render what’s inside the tag to the screen, whatever it is. Just like if you are in irb and entered `@menu`.
Do you mean you want certain values? `<%= @menu[0]['name'] %>`
Or do you want help making some HTML?
<% end %>
<% end %>
Obviously this is terrible HTML, but hopefully you can see how it’s done.