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.

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

© 2021 GoRails, LLC. All rights reserved.