Added validator


    class Spaceship < ActiveRecord::Base
      include FlagShihTzu

      has_flags(1 => :warpdrive, 2 => :hyperspace, :column => 'engines')
      validates_presence_of_flags :engines
    end