Closed knu closed 7 years ago
With Rails 5 finally released and some popular gems moving quickly to drop support for obsolete versions of ruby, gem dependencies and CI settings need to be updated.
@iain @DouweM Could you take a look at this? Rails 5.0 warns that before_filter will be gone in 5.1.
@iain Would be fantastic if you could take a look at this.
@knu @leogiertz Sorry about the huge delay everyone, let me get a new release out...
Released v2.2.1!
A locale should be set as earlier as possible because some before filters (like
require_no_authentication
in Devise) use I18n.t() for a localized flash message.While at it, I changed the call to first try
prepend_before_action
and then fall back toprepend_before_filter
to avoid Rails 5's deprecation warning.