adding activerecord instead of all of rails