Added Active record assignment (orm)