support of newer rails