Removed package dependency of activerecord