songkick / oauth2-provider

Simple OAuth 2.0 provider toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example application throws TypeError

attilagyorffy opened this issue · comments

Hi,

I've dived into the example application straight away and when trying to register a new application in the following path I got a TypeError:

TypeError at /oauth/apps/new can't convert nil into Integer file: base.rb location: Integer line: 896

Now I've got to admit that I hardly have that much experience with Sinatra that I wish I would so I'm posting this straight up here. In order to be able to reproduce the issue you would do the following:

Please let me know if I'm doing anything wrong.

My environment is set up with the following:

ruby --version
=> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.0.0]
bundle --version
=> Bundler version 1.2.0.pre.1

OK, ignore me, I was way too fast. Forgot to migrate my database.
Closing this issue in the world of public embarrassment.