Identifying specific mysql tables

Hi Kevin,

Are you looking to show the data from those tables on that page (say the tables are called cats and dogs)? The basic rails idiom for this is:

controller:

def list

@cats = Cat.find(:all)

@dogs = Dog.find(:all)

end

view:

<% @cats.each do |cat| %>

some display code here

<% end %>

and repeat for @dogs.

Cheers,

James

James,

Thank you for your feedback, the example gave me nice insight.

Resolved :slight_smile: Have a good week!