# File lib/dm-validations.rb, line 29
    def self.included(model)
      model.class_eval "def self.create(attributes = {}, *args)\nresource = new(attributes)\nresource.save(*args)\nresource\nend\n", __FILE__, __LINE__ + 1

      # models that are non DM resources must get .validators
      # and other methods, too
      model.extend ClassMethods
    end