class Address < ActiveRecord::Base
  belongs_to :user
  validates :state, length: { maximum: 2 }
end

class Address < ActiveRecord::Base
  belongs_to :user
  validates :state, length: { maximum: 2 }
  validates :user_id, :city, :state, :zip_code, presence: true
end

Add some validations to Address model
Add some validations to Address model
