Remove Rails dependancy