/filter_bug

Example Rails 4 app demonstrating a bug in before_filter

Primary LanguageRuby

README

This app is meant to demonstrate how before_action ignores the :only option and will always execute the method specified in the :if option

Simply load it up and go to the root url.