remove explicit rails dependency