play does not display token #137

Closed
nandub opened this Issue Apr 22, 2012 · 4 comments

Projects

None yet

2 participants

Contributor
nandub commented Apr 22, 2012

When I go to http://localhost:5050/token url i don't see a token it only displays the following message

Your Play Token
Use this token to access Play from any of the numerous Play clients available.

I'm trying to setup play-cocoa on my Mac. I'm using latest play/play@67d6a45 commit.

Owner
holman commented Apr 22, 2012

Is this a new, clean install, or an upgrade?

Contributor
nandub commented Apr 22, 2012

New and upgrades. I used my fork with the latest changes on master. Also tried play master with the same results.

Owner
holman commented Apr 22, 2012

You'll probably want to do something like rake console, then User.all.each{|user| user.save}. I'm not sure if @maddox added some weird token saving for upgrades at all or what.

Contributor
nandub commented Apr 22, 2012

After I ran Play::User.all.each{|user| user.save} in the ruby console per your suggestion. Now it works.

@holman holman closed this Apr 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment