template created manually as "search.js.erb " the trailing space was
invisible
Le mardi 27 novembre 2012 12:35:34 UTC+1, Erwin a écrit
:>
> In my PlaceController, I have a search method, called remotely from a form
>
> the method is executed, but rendering is not executed as the template is
> stated as missing ..
> but it''s there ...
>
> post :search, :locale => I18n.locale, :format => :js, :country
=>
> "United"
>
> Error: test_should_search_places(Backoffice::PlacesControllerTest)
> ActionView::MissingTemplate: Missing template backoffice/places/search
> with {:locale=>[:en], :formats=>[:js, :html], :handlers=>[:erb,
:builder,
> :coffee, :haml]}. Searched in:
>
> and I have a template in my views located at :
> views / backoffice/ places / search.js.erb
>
> what could be wrong ? where should I look for any clue ?
>
> thanks
>
>
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/mhcdXvBkKXkJ.
For more options, visit https://groups.google.com/groups/opt_out.