Class: CartItem
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- CartItem
- Extended by:
- Carter::ActiveRecord::Extensions
- Includes:
- Carter::StateMachine::CartItem
- Defined in:
- app/models/cart_item.rb
Instance Method Summary collapse
Methods included from Carter::ActiveRecord::Extensions
money_composed_column, money_constructor, money_converter
Methods included from Carter::StateMachine::CartItem
Instance Method Details
#refresh ⇒ Object
31 32 33 |
# File 'app/models/cart_item.rb', line 31 def refresh update_attributes :price => cartable.cartable_price, :name => cartable.cartable_name end |