tall-ghost-95744
09/01/2022, 10:40 PMbelongs_to
in an action? The use case is I have ModelA
that has_many
ModelB
and I'd like to be able to use the record_selector
to check several ModelB
, choose Actions
, and then select "Assign ModelA"
action. This should cause a modal with a select box to appear with all the records from ModelA
, such that when I submit it, the ID for the selected ModelA
is sent to the server, where I can deserialize it from the fields
object.lemon-wall-20836
09/02/2022, 2:48 PMlemon-wall-20836
09/02/2022, 2:49 PMlemon-wall-20836
09/02/2022, 2:50 PMlemon-wall-20836
09/02/2022, 2:50 PMtall-ghost-95744
09/02/2022, 3:52 PMlemon-wall-20836
09/02/2022, 3:53 PMlemon-wall-20836
09/02/2022, 3:54 PMtall-ghost-95744
09/02/2022, 3:54 PMlemon-wall-20836
09/02/2022, 3:55 PMlemon-wall-20836
09/02/2022, 3:55 PMtall-ghost-95744
09/02/2022, 3:55 PMlemon-wall-20836
09/02/2022, 3:56 PMlemon-wall-20836
09/02/2022, 3:56 PMlemon-wall-20836
09/02/2022, 3:56 PMtall-ghost-95744
09/02/2022, 3:56 PMtall-ghost-95744
09/03/2022, 9:19 AMlemon-wall-20836
09/03/2022, 2:45 PMlemon-wall-20836
09/03/2022, 2:45 PM