-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Do you guys have any suggestions on how to make the strong params suck less?
On the activity model:
galleryable :briefing_gallery, :debriefing_gallery
In the activities controller:
params.require(:activity).permit([:name, :description, :start_at, :end_at,
:briefing_gallery_attributes=>{:asset_attachments_attributes=>[:id,:asset_id,:sort_order]},
:debriefing_gallery_attributes=>{:asset_attachments_attributes=>[:id,:asset_id,:sort_order]}])
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels