Continuing the discussion from Movies does not show up after clicking on an actor:
Yeah, actually my code is showing some actors twice and some actors only once and some thrice. When I click on the second occurance of an actor, it shows the movies while on first or third link, it doesn’t shows the movie. Don’t know why is it happening.
The code for index_html.erb is -
<%= a.first_name %> <%= a.last_name %><%= link_to "Learn more", actor_path(a) %>
<%= a.bio %>
can somebody help ?