Skip to main content

NoMethodError (undefined method `def_delegators' for ChatroomsDatatable:Class):

Ruby • Asked by Victor Nizeyimana

I have this error: NoMethodError (undefined method `def_delegators' for ChatroomsDatatable:Class):

Have you added this to your class?

  extend Forwardable

Yes. Still having the same error..

You'll probably have to share some code because there's not information to help you right now.

It is working now.

Ough, next error 💩;
Completed 500 Internal Server Error in 14754ms (ActiveRecord: 17.1ms)

NameError (undefined local variable or method `fetch_records' for #ChatroomsDatatable:0x00007f9bd1ea22d8):

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.