Filters - Add solution to implement (before|after)_filter hooks using ruby