#all and #find_by_hash return array of instance