Overcame the activerecord missing