class User < ActiveRecord::Base
  has_many :players, dependent: :destroy
  has_many :games, through: :players

  # TODO email registration and cookie setting
  validates :nickname,
    uniqueness: { message: "already taken, please select another" },
    format: { with: /\A\w+\z/, message: "expecting single word alpha numericy nickname~~ sozlol" }
end

class User < ActiveRecord::Base
  has_many :players, dependent: :destroy
  has_many :games, through: :players

  # TODO email registration and cookie setting
  validates :nickname,
    uniqueness: { message: "already taken, please select another" },
    format: { with: /\A\w+\z/, message: "should be single word alpha numericy nickname~~ sozlol" }
end

Reword validation text to read better in context
Reword validation text to read better in context
