lib/phlexi/form/structure/namespace.rb in phlexi-form-0.4.5 vs lib/phlexi/form/structure/namespace.rb in phlexi-form-0.4.6

- old
+ new

@@ -15,10 +15,10 @@ each_with_object({}) do |child, hash| hash.merge! child.extract_input(params[0]) end else input = each_with_object({}) do |child, hash| - hash.merge! child.extract_input(params[key]) + hash.merge! child.extract_input(params[key]) if params end {key => input} end end end