Using pluck doesn't work here because 'name' is a method, not a model attribute.