deleted duplicate activerecord command