Example Rails 4 app demonstrating a bug in before_filter