I\'m trying to make some restaurant list. I associated two tables, and then write this code.
class Restaurant < ActiveRecord::Base has_many :resta
because Restaurent has_many :restaurant_translations so you need to loop through
restaurant.restaurant_translations.each do|res_trans| your code here end