small medium large xlarge

03 Apr 2014, 15:32
Denis Zalessky (1 post)

All tests are successfull after finishing chapter 11, and items in cart are displayed correctly, but jquery-ui does not found. Anyway as I understand, it hurts only highliting. But @cart is nil as I understand from error “undefined method for nil:NilClass” when I am trying to get access for @cart.line_items as it necessary to check is our cart empty for check out. Did anyone face with this problem? What can you advice me? Thank you!

01 Jul 2016, 22:28
David Michael Rodriguez (1 post)

This is what helped me wrt to the jquery-ui not being found.

In app/assets/javascripts/application.js, replace:

//= require jquery.ui.effect-blind


//= require jquery-ui/effect.blind

I didn’t run into the issue of undefined method for nil:NilClass, not sure what’s going on there.


You must be logged in to comment