Ruby on Rails support for Stormpath
Ruby
Pull request Compare This branch is 15 commits ahead, 268 commits behind stormpath:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
stormpath-rails.gemspec

README.md

Stormpath::Rails

Build Status

Ruby on Rails support for Stormpath

Usage

add gem 'stormpath-rails' to Gemfile

run rails g stormpath:rails:install

edit config/stormpath.yml

export stormpath connection string to STORMPATH_URL (optional)

class User < ActiveRecord:Base
    include Stormpath::Rails::Account
end

add stormpath_url column to store stormpath UID.

TODO

Preventive validation to not send invalid data to stormpath.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request