When a user tries to create a record with a name that already exists, I want to show an error message like:
name \"some name\" has already been taken
What version of Rails do you use?
If Rails 3. then as i understand you should use :message => '%{value} has already been taken'. I am not sure about Rails 2.3. - but in any case you can create your own custom validation that performs what you need.
:message => '%{value} has already been taken'