This ```validates_uniqueness_of :name``` seems duplicate to the above ```validates :name, :uniqueness => true```