changed rails dependency to >= 3 from ~>