Sha256: 9783fa5ae8d42656c87e165356af8b568a21d7f12b27fa63d196fcce582504c5
Contents?: true
Size: 610 Bytes
Versions: 5
Compression:
Stored size: 610 Bytes
Contents
ActiveDynamic.configure do |config| # Specify class in your application responsible for resolving dynamic # properties for your model. This class should accept `model` as the # only constructor parameter, and have a `call` method that returns # an array of AttributeDefinition config.provider_class = ActiveDynamic::NullProvider # When new dynamic attributes are defined after object was saved, # should object get this attributes automatically when editing? # New attribute definitions are created automatically. # Set true or false (default) # config.resolve_persisted = true end
Version data entries
5 entries across 5 versions & 1 rubygems