Sha256: 2823cc5c76fd5d77436b42357d5892f8da1d828cc359a015909bc052bbaa80df
Contents?: true
Size: 165 Bytes
Versions: 2
Compression:
Stored size: 165 Bytes
Contents
PolymorphicIntegerType::Mapping.configuration do |config| config.add :source, {0 => "Person", 1 => "Animal"} config.add :target, {0 => "Food", 1 => "Drink"} end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
polymorphic_integer_type-2.1.1 | spec/support/configuration.rb |
polymorphic_integer_type-2.1.0 | spec/support/configuration.rb |