wrong number of arguments (1 for 0)

change   session(:cart).nil?

to   session[:cart].nil?

session is not a method call

If we're picking nits it is :slight_smile: - you just don't pass any arguments to it.

Fred