diff --git a/lib/active_interaction/extras/strong_params.rb b/lib/active_interaction/extras/strong_params.rb index 4feb0eb..e2130e3 100644 --- a/lib/active_interaction/extras/strong_params.rb +++ b/lib/active_interaction/extras/strong_params.rb @@ -35,7 +35,7 @@ def permitted_params case filter when ActiveInteraction::ArrayFilter { filter_name => [] } - when ActiveInteraction::HashFilter + when ActiveInteraction::HashFilter, ActiveInteraction::ObjectFilter { filter_name => {} } else filter_name