mcordell / grape_token_auth

Token auth for grape apps
MIT License
52 stars 19 forks source link

Allow using class name for mappings #47

Open evserykh opened 8 years ago

evserykh commented 8 years ago

I'm using it with an Rails app and I have a trouble with loading User model in the initializer. Maybe we can use just class name?

I offer to switch to sqlite for test because not all use postgres. And how can I run tests if there is no database structure? Maybe we can add an sqlite database with all tables empty?