Skip to content

Commit

Permalink
Permit params for object
Browse files Browse the repository at this point in the history
  • Loading branch information
antulik committed Jun 29, 2024
1 parent c645764 commit cb60444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_interaction/extras/strong_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb60444

Please sign in to comment.