Victor Nizeyimana


1,670 Experience
1 Lesson Completed
2 Questions Solved


Hey Chris,

I found the solution.
I used the old methods...

Thanks for your help! and support!


I'm getting this wierd error.

NameError (undefined local variable or method `fetch_records' for #<CommentsDatatable:0x00007f7fae91f8b8>):
app/controllers/admin_controller.rb:69:in `block (2 levels) in comments'
app/controllers/admin_controller.rb:67:in `comments'


  def comments
    respond_to do |format|
      format.json { render json: }

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

Yes. Still having the same error..

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

I made a mistake added all images in app/assets it need to be in public/assets.

How to resolve this issue: ActionController::RoutingError (No route matches [GET] "/assets/images/4.jpg"):

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2023 GoRails, LLC. All rights reserved.