Fixes undefined method find_by