Forum: Ruby on Rails Template is missing 'show.rjs.rhtml' error in safari only?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Adam m. (Guest)
on 2007-02-17 16:27
I was able to solve this but want to understand why this fix works.

  Remove the format.js line from the respond_to block

the error i get when navigating to: /music;accept
  Template is missing
  Missing template script/../config/../app/views/music;accept.rjs.rhtml

Accept is an aspect of the music controller eg in routes.rb
  map.resources :music,  :collection => {:accept   => :get}

music controller:
  def accept
    #load collections etc

    respond_to do |format|
      #format.js had to comment out this line to get rid of the error
      format.html #accept.rhtml

There is an accept.rhtml template and no rjs template at this stage.

It would be great to get some comments suggesting why this occurs in

Oh, i have tried installing the 'browse_filters' plugin.
This topic is locked and can not be replied to.