lib/spree_suppliers.rb in spree_suppliers-1.0.2 vs lib/spree_suppliers.rb in spree_suppliers-1.0.3
- old
+ new
@@ -180,10 +180,10 @@
Taxon.class_eval do
has_and_belongs_to_many :suppliers
end
User.class_eval do
- belongs_to :supplier
+ has_one :supplier
end
end
config.to_prepare &method(:activate).to_proc
end