问题
I am new to spree, I have created a new spree model
module Spree
class VerificationDocument < ActiveRecord::Base
end
end
When I am trying to access the model from console it's showing an error
NameError: uninitialized constant Spree::VerificationDocument
Not sure what I am missing.
来源:https://stackoverflow.com/questions/35466675/how-to-access-a-new-spree-model