Sha256: 6f954fe73697d1b1a8bae08ec87f86acd0c23e5f87237aa55c06322fd08ee247

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

# Bodega

**Bodega allows any ActiveRecord::Base subclass to be purchased with a few simple steps:**

1. Install Bodega (add `gem 'bodega'` to your Gemfile and bundle)
2. For existing models:
	1. `rails g bodega:productize existing_class_name`
	2. Add `include Bodega::Product` to your class definition
3. For new models:
	1. `rails g bodega:product new_class_name`
4. Add `mount Bodega::Engine => 'cart'` to your `config/routes.rb` file
5. Profit (literally, for once)

## WIP

This is a work-in-progress and is currently only in use on [womannyc.com](http://www.womannyc.com). Play with it if you want. It's not that exciting; shut up.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bodega-0.2.0 README.md