You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add active_admin_import_context convention for controller-provided context
Controllers can define an `active_admin_import_context` method returning a
hash; it is merged into the import model after form params so values the
controller is authoritative about (parent.id, current_user.id, request
attributes, etc.) cannot be overridden by tampered form fields.
This supersedes PR #137 by offering a general-purpose hook that works for
nested belongs_to imports and any other controller-derived state.
0 commit comments