adding activerecordset