Add activerecord style equality