I have a User table with common fields: name, age, gender etc... In my application, when a new user signs up I want to check (approve or reject) his bio and profile photo to validate his account. I'm using ActiveAdmin
and I wanted to have something like a scope in my User index where I see the "unchecked" user (I have done that part) and an action link(next to View, Edit and Delete) to approve or reject the bio/photo.
My problem is with this action link, I don't know how to do it. I've seen member_actions
for custom actions, but I don't understand how it works and if I can modify one field one my user. Some help would be welcome on this.