Save 36% for Black Friday! Save 36% on GoRails for Black Friday! Learn more
Activity
Hey Chris,
I found the solution. https://github.com/jbox-web/ajax-datatables-rails/blob/master/doc/migrate.md
I used the old methods...
Thanks for your help! and support!
Hi,
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'
Code:
def comments
respond_to do |format|
format.html
format.json { render json: CommentsDatatable.new(view_context) }
end
end
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"):