public
Description: Spree is a complete open source e-commerce solution for Ruby on Rails.
Home | Edit | New

Troubleshooting

This is a collection of common things-to-remember when setting up a spree-backed project.

Configuring Nginx to use SSL

Nginx is one option for the front-end of a rails deployment. It’s been tested successfully with spree applications.

If you need SSL, note the config advice at http://norbauer.com/notebooks/code/notes/nginx-ssl-rails: the page also points to a sample config file at http://brainspl.at/nginx.conf.txt (some of which is explained on http://brainspl.at/articles/2006/08/23/nginx-my-new-favorite-front-end-for-mongrel-cluster)

Creating Custom (Additional) Back-End Controllers

Related to:

undefined method `tab' for #<ActionView::Base>

Don’t forget that all backend Controllers must inherit from the Admin::BaseController.

The very first line of your (new) custom controller must look like this:

class Admin::ThingsController < Admin::BaseController
Hope this helps!

Last edited by jumph4x, Mon Sep 07 16:38:05 -0700 2009
Home | Edit | New
Versions: