i am trying to fetch the ids of the selected records in a smart action within the :Load hook, and there is a way shown in your documentation to do that but i believe it is deprecated since it raises an error whenever i try to do it.
the method mentioned in the documentation is:
but it raises an argument error:
ArgumentError - wrong number of arguments (given 1, expected 2):
note that the method mentioned above was also used for the same purpose in the model’s controller but it also stopped working a while back and now i must pass the
params and the
forest_user along with it.
but in the :Load hook there is no such forest_user in the context so i was wondering what i could do to fetch the selected records ids within the :Load hook.