brendanlim/mobile-fu

Rails 5 deprecation warning on "before_filter"

wfried opened this issue · 1 comments

Rails 5 (now in Beta 2, scheduled for final release by end of the month) throws a deprecation warning on the use of "before_filter":

DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead.

It looks like mobile-fu causes warnings to display in apps that include it.

Rails 5 is now released and as mentioned this issue will be problematic in Rails 5.1