I'm starting in the Rails world through the Ruby on Rails book - Put your web application on the rails.
After creating a "users" module the guide tells us to add the following command line in the migration:
add_index :users, :email, :uniqueness => true
And then perform a "rake db: migrate". But when performing, the rake is aborted according to the image. Could someone help?
Another detail is that when you switch from uniqueness
to unique
the migration works. What's the difference between them?