[Rails] rendering partial problem.
Can anyone help me?
I have a problem that when I click on the search button I get the
following error message:
ActionView::MissingTemplate in Searches#show
Showing C:/finalproject/app/views/searches/show.html.erb where line #3
raised:
Missing partial games/game with {:handlers=>[:erb, :builder, :coffee],
:formats=>[:html], :locale=>[:en, :en]}. Searched in:
* "C:/finalproject/app/views"
* "C:/Ruby/lib/ruby/gems/1.9.1/gems/kaminari-0.13.0/app/views"
I have the following in my show.html.erb:
<h2>Search</h2>
<%= render :partial => @search.games%>
Any ideas?
Thanks
R.Patrick
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home