prismicio/ruby-rails-starter — pull request #5 by rudyrigot (2013-12-03 20:14:24+00:00)
Title: Dealing with expired token

When a token comes back expired, rather than generating a 500, this tries the API connection again after discarding the token.

I'm still pull-requesting this because I could use an outside opinion on this. :)