Rails4 and FriendlyId5 compatibilty

It has to be double tested by someone else!

But for now thank you also to @dbagaric and @crurtis!