Re: authentication system in camping error

2015-03-14 Thread Ben Schumacher
Having only briefly looked through the code, I'd guess that updating the role is causing the password hash to be recreated because the logic in the encrypt_password message doesn't appear to prevent that from happening. You could verify this by seeing if the hash in the DB changes between creat

Re: serving static files

2015-03-23 Thread Ben Schumacher
Sebastian- It's hard to guess what the issue with Camping is without a little more detail. You could achieve the same result by having Rack serve the static files, and skip Camping altogether. Something like this in your config.ru: require 'app' use Rack::Static, :urls => ['/static', ], :ro