Sha256: 75c24c3cef40e9d7f78196ef93dec2b39fdef7e839ea4eda0d8ee3c6ed71c454

Contents?: true

Size: 695 Bytes

Versions: 2

Compression:

Stored size: 695 Bytes

Contents

require "acts_as_shopping_cart/version"
require "rails"
require "money-rails"
require "active_record/acts/shopping_cart"
require "active_record/acts/shopping_cart_item"
require "acts_as_shopping_cart/schema"

module ActiveRecord
  module Acts
    module ShoppingCart
      autoload :Collection , "active_record/acts/shopping_cart/collection"
      autoload :Item       , "active_record/acts/shopping_cart/item"
    end

    module ShoppingCartItem
      autoload :InstanceMethods, "active_record/acts/shopping_cart_item/instance_methods"
    end
  end
end

ActiveRecord::Base.send :include, ActiveRecord::Acts::ShoppingCart
ActiveRecord::Base.send :include, ActiveRecord::Acts::ShoppingCartItem

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_shopping_cart-0.4.1 lib/acts_as_shopping_cart.rb
acts_as_shopping_cart-0.4.0 lib/acts_as_shopping_cart.rb