As a wiki sez developer:
Create Transfer
rails generate migration add_username_to_users username:string
Start the migration
rake db:migrate
Change the user model and add the username to attr_accessible
attr_accessible :username
more details here
For uniqueness, you can simply perform a check on the user model
, !