### Home Classes Methods

### In Files

- app/models/order.rb

### Parent

ActiveRecord::Base

### Methods

- #add_line_items_from_cart

### Files

- README_FOR_APP

### Class Index

Quicksearch

- AdminController
- AdminHelper
- ApplicationController
- ApplicationHelper
- Cart
- CartsController
- CartsHelper
- LineItem
- LineItemsController
- LineItemsHelper
- Notifier
- Order
- OrdersController
- OrdersHelper
- Product
- ProductsController
- ProductsHelper
- SessionsController
- SessionsHelper
- StoreController
- StoreHelper
- User
- UsersController
- UsersHelper

No matching classes.

# Order

### Constants

PAYMENT_TYPES

### Public Instance Methods

add_line_items_from_cart(cart) click to toggle source

        # File app/models/order.rb, line 9
     9:   def add_line_items_from_cart(cart)

    10:     cart.line_items.each do |item|

    11:       item.cart_id = nil

    12:       line_items << item

    13:     end

    14:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.