Loosing the hard dependency on rails