We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f46628b commit 921ce9cCopy full SHA for 921ce9c
lib/simple_form/form_builder.rb
@@ -672,7 +672,8 @@ def mapping_override(klass)
672
673
def attempt_mapping(mapping, at)
674
return if SimpleForm.inputs_discovery == false && at == Object
675
- return at.const_get(mapping) if at.const_defined?(mapping)
+
676
+ at.const_get(mapping) if at.const_defined?(mapping)
677
end
678
679
def attempt_mapping_with_custom_namespace(input_name)
0 commit comments