This repository contains the files you need to use Vanilla's jsConnect with a ruby/rails project.
Documentation about the purpose of jsConnect is available at http://blog.vanillaforums.com/help/vanilla-jsconnect-single-signon-on/
The following files are included in this repo.
lib/js_connect.rbThis is the main file you need. You don't need any other file in your project. You can just drop this file anywhere that you can access it on your site.app/controllers/sso_controller.rbThis file is an example rails controller. You can drop this file into your rails application or start from scratch. Please note that if you use this file you'll also have to add a route to your rails config.