Class: Spree::OptionType

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/spree/option_type.rb

Instance Method Summary collapse

Instance Method Details

#touch_all_productsObject


15
16
17
# File 'app/models/spree/option_type.rb', line 15

def touch_all_products
  products.find_each(&:touch)
end