This gem adds WebConnect support to existing Rails apps.

For general configuration and event handling, see the README for the web-connect gem.

Installation

First, add this gem to your Gemfile.

gem 'web-connect-rails'

Next, run the included installer from your Rails root.

rails g web_connect:install

By default, WebConnect will use your Rails database(s), and prefix its tables with wc_. Edit config/initializers/web_connect.rb if you want to use a different prefix, or a completely different database.

URI Namespace

The WebConnect initializer allows you to set a uri_namespace, which, by default, is webconnect. Change this if you want to access WebConnect by a different URI.