oit ruby rails class