Class: Shoppy::OptionsItem

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/shoppy/options_item.rb

Instance Method Summary collapse

Instance Method Details

#capsObject

Filters



7
# File 'app/models/shoppy/options_item.rb', line 7

before_save :caps

#nameObject

Validators



9
# File 'app/models/shoppy/options_item.rb', line 9

validates :name,      presence: true

#options_groupObject

Relationships



4
# File 'app/models/shoppy/options_item.rb', line 4

belongs_to :options_group