Class: Shoppy::OptionsItem
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Shoppy::OptionsItem
- Defined in:
- app/models/shoppy/options_item.rb
Instance Method Summary collapse
-
#caps ⇒ Object
Filters.
-
#name ⇒ Object
Validators.
-
#options_group ⇒ Object
Relationships.
Instance Method Details
#caps ⇒ Object
Filters
7 |
# File 'app/models/shoppy/options_item.rb', line 7 before_save :caps |
#name ⇒ Object
Validators
9 |
# File 'app/models/shoppy/options_item.rb', line 9 validates :name, presence: true |
#options_group ⇒ Object
Relationships
4 |
# File 'app/models/shoppy/options_item.rb', line 4 belongs_to :options_group |