heavenstudio / spree_correios

A spree extensions to add Brazil's Correio calculators
BSD 3-Clause "New" or "Revised" License
13 stars 39 forks source link

ActiveRecord::SubclassNotFound in Spree/admin/shipping_methods#index #2

Closed andreteves closed 11 years ago

andreteves commented 11 years ago

Quando eu acesso Configurações -> Método de Entrega eu recebo a seguinte mensagem de erro:

"The single-table inheritance mechanism failed to locate the subclass: 'Spree::Calculator::Correio::Pac'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Spree::Calculator.inheritance_column to use another column for that information."

Estou fazendo alguma coisa errada? Estou usando Spree 1.3.0

Obrigado!

yurifrl commented 10 years ago

Um ano depois e eu tive o mesmo problema, fiz aqui http://www.redmine.org/boards/2/topics/32809 mas depois veio esse "uninitialized constant Correios"