Ruby on Rails
Thursday, September 13, 2018
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 <fugee279@gmail.com> wrote:
--respond_to :js, only: :videochatdef videochatrespond_to do |format|format.jsendendActionController::UnknownFormat in ConversationsController#videochatActionController::UnknownFormat
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b2b3ee36-f820-41e0-99df-032f7ace16fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJ6MPzLwj4TbENUnBL7_oYufPDbEdJ4bA1gwH4fxo-0XQpa6vQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment