search for: hilite_list

Displaying 1 result from an estimated 1 matches for "hilite_list".

2012 Nov 18
3
Share partial among different resources
...ml.erb) <%= render ''subjects/index'' %> Here is subjects_controller def show @subject = Subject.find(params[:id]) ... end Here is subjects/index.html.erb (The file I want to render) <% @subjects.each do |subject| %> <tr> <td class="hilite_list"> <a href="/books/index_books/<%= subject.id %>"><%= subject.title %> (<%= subject.questions.count %>)</a> </td> -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the...