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