Save 36% for Black Friday! Learn more

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

Ask A Question

Notifications

You’re not receiving notifications from this thread.

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

Victor Nizeyimana asked in Ruby

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):

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 39,609+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.