Sha256: 3a299404976c809cfeaa2a0ca1edaf8458354096e2d8f4a10a10a1a0e20a089b
Contents?: true
Size: 360 Bytes
Versions: 4
Compression:
Stored size: 360 Bytes
Contents
module RailsAdmin FormBuilder.class_eval do private def nested_field_association?(field, nested_in) field.inverse_of.presence && nested_in.presence && field.inverse_of == nested_in.name && (@template.instance_variable_get(:@model_config).abstract_model == field.abstract_model || field.name == nested_in.inverse_of) end end end
Version data entries
4 entries across 4 versions & 1 rubygems