Skip to content

Instantly share code, notes, and snippets.

View lbramos's full-sized avatar

Luis Bivar Ramos lbramos

View GitHub Profile
@safarista
safarista / spree_suppliers_multistore.md
Created April 8, 2013 21:51
spree_suppliers_multistore trial specs stories by @lbramos
Specifications ==== 1. What the super admin admin sees 2. What the store admin sees 3. What the buyer sees 4. What happens when you buy
@JonCrawford
JonCrawford / gist:44415
Created January 7, 2009 20:45 — forked from anonymous/gist:44410
Improved! A slight alteratiion of DHH's dynamic subdomain technique.
# 1) Point *.example.com in your DNS setup to your server.
#
# 2) Setup an Apache vhost to catch the star pointer:
#
# <VirtualHost *:80>
# ServerName *.example.com
# </VirtualHost>
#
# 3) Set the current account from the subdomain
class ApplicationController < ActionController::Base