Sha256: a66d553fd9c14419116ca0f914d0c6caede76a6283cfcde6da5e88e56aa0d38c
Contents?: true
Size: 471 Bytes
Versions: 9
Compression:
Stored size: 471 Bytes
Contents
module ActiveData module Model module Associations module Reflections class EmbedsMany < EmbedsAny def self.build(target, generated_methods, name, options = {}, &block) target.add_attribute(ActiveData::Model::Attributes::Reflections::Base, name) if target < ActiveData::Model::Attributes options[:validate] = true unless options.key?(:validate) super end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems