brendanlim / mobile-fu

Automatically detect mobile requests from mobile devices in your Rails application.
http://www.intridea.com/2008/7/21/mobilize-your-rails-application-with-mobile-fu
MIT License
709 stars 195 forks source link

Rails 5 deprecation warning on "before_filter" #45

Open wfried opened 8 years ago

wfried commented 8 years ago

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.

wfried commented 8 years ago

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