Re: [Rails] respond_to :js

2018-09-13 Thread Rob Zolkos
This was removed at class level in Rails 4.2 . https://edgeguides.rubyonrails.org/4_2_release_notes.html#respond-with-class-level-respond-to You can leave the instance level one it will work fine. On Fri, Sep 14, 2018 at 12:37 AM fugee ohu wrote: > respond_to :js, only: :videochat > > def

[Rails] respond_to :js

2018-09-13 Thread fugee ohu
respond_to :js, only: :videochat def videochat respond_to do |format| format.js end end ActionController::UnknownFormat in ConversationsController#videochat ActionController::UnknownFormat -- You received this message because you are subscribed to the Google Groups "Ruby