avoid passing object to active record find