changes for spree-2-0
using spree.t namespaced method for 2.0