module Sequel::Plugins::Enumerize

def self.apply(model)

Depend on the def_dataset_method plugin
def self.apply(model)
  model.plugin(:def_dataset_method) unless model.respond_to?(:def_dataset_method)
end