citrus/spree_variant_options — Issue #13: undefined method current=
Author: spreetzer
Created: 2012-02-15 09:54:37+00:00
State: open

Hi,

I don't know if this is my fault or not, but here goes:

I recently updated to spree 1-0-stable and update spree_variant_options

When going to the products show page, i get the following error:

NoMethodError: undefined method `current' for #
from activerecord-3.1.3/lib/active_record/base.rb:1088:in `method_missing'

When removing the unless defined? Spree::User::DestroyWithOrdersError block in lib/spree_variant_options.rb the page does work.

Sorry if this is something stupid I do.