Avoid warning: variable $KCODE is no longer effective
Avoid warning: The source :gemcutter is deprecated
Accept Rais 4
Model.scoped is deprecated
Using #scope without passing a callable object is deprecated
Relation#first with finder options is deprecated