only inside namespace models

In my case const Parser is outside namespace Spree but 
Spree.const_defined? const_name # => true
this cause a error

    uninitialized constant Spree::Parser