Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: kellym/demoscopic_oauth2_provider
head fork: kellym/demoscopic_oauth2_provider
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Sep 11, 2011
@yury yury Support namespaced User model 1e3a19e
@kellym Merge pull request #1 from yury/master
Add namespaced user model support
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/expirable_token.rb
2  lib/expirable_token.rb
@@ -4,7 +4,7 @@ def self.included(klass)
cattr_accessor :default_lifetime
self.default_lifetime = 1.minute
- belongs_to :user
+ belongs_to :user, class_name: Devise.mappings[:user].class_name
belongs_to :client
field :token

No commit comments for this range

Something went wrong with that request. Please try again.