Navid Shafie said almost 5 years ago on DataTables :
Hope someone can help out. I have my code exactly the same. Running ruby '2.3.0' and rail 5.2.2. When I go to my users.json path I get `undefined method '[]' for nil:NilClass` on: ` def sort_column columns[params[:order]['0'][:column].to_i] end ` and actually everything that uses the `params`. any help is much appreciated!