Custom authentication for code fellows. Rails 3.2.16