On Wed, Feb 22, 2012 at 2:02 PM, Roger Patrick <[email protected]> wrote:
> 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
>
>
What do you have in your controller? Searches#show
Javier Q
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.