Sha256: 115e74e5c4b668f3749a8f0049898501157834e677f038c205e80275842fd1b9
Contents?: true
Size: 427 Bytes
Versions: 5
Compression:
Stored size: 427 Bytes
Contents
Dir[File.dirname(__FILE__) + "/validatable_extensions/**/*.rb"].each do |path| require path end #-- # TODO: # implement alias_option method for all validations (so we can set :with == :as) # make validations orthogonal with allow_nil default to true # module DataMapper module Validations def self.included(base) #:nodoc: base.class_eval do include Validatable end end end end
Version data entries
5 entries across 5 versions & 1 rubygems