No description, website, or topics provided.
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
public
script
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock
README.textile
Rakefile
config.ru

README.textile

An example app showcasing Spy

Gem Requirements

This app relies on the following gems:

  • gem ‘rails’, :git => ‘git://github.com/rails/rails.git’
  • gem ‘devise’, :git => ‘git://github.com/plataformatec/devise.git’
  • gem ‘sqlite3-ruby’, :require => ‘sqlite3’
  • gem ‘spy’, :git => ‘git://github.com/jackdempsey/spy.git’
  • bundler (1.0.0.beta.5)

Getting Started

  1. bundle install
  2. rake db:seed
  3. rails s

At this point you should be able to go to http://localhost:3000 and view the app. The various accounts you can test with are:

  • admin@test.com / test1234
  • test1@test.com / test1234
  • test2@test.com / test1234

Give the admin and one of the test users a shot. You’ll see various messages change as a result, and when you’re logged in
as the admin, you should see the Spy middleware kick into gear giving you a dropdown of all the users in the system that you can switch to.