Listing some_other_models

<% @some_other_models.each do |some_other_model| %> <% end %>
Name Parent Second Parent
<%=h some_other_model.name %> <%=h some_other_model.parent_name %> <%=h some_other_model.second_parent_other_field %> <%= link_to 'Show', some_other_model %> <%= link_to 'Edit', edit_some_other_model_path(some_other_model) %> <%= link_to 'Destroy', some_other_model, :confirm => 'Are you sure?', :method => :delete %>

<%= link_to 'New some_other_model', new_some_other_model_path %>