TypeError: Object doesn't support this property or method

后端 未结 8 1443
梦如初夏
梦如初夏 2021-01-05 20:53

I have created rails application where I created a database (empty). When I try to view my products page, I receive the following error on my http://localhost:3000/products

8条回答
  •  情话喂你
    2021-01-05 21:30

    I removed the require_tree from application.js and it worked

    //= require jquery 
    //= require jquery_ujs 
    //= require turbolinks 
    // require_tree .
    

提交回复
热议问题