Hey @channel <@492751562872193025>, I'm having an ...
# avo-2
c
Hey @channel @lemon-wall-20836, I'm having an issue while displaying two resource tools inside the parent resource. Basically, I want to retrieve the params of both has_many resources, namely 'collection_products' and 'collection_conditions,' in the controller. However, I'm only receiving the params of the first tool in the controller. Here is an example: `with_options show_on: [:edit, :new], hide_on: [:index, :show] do tool CollectionProducts tool CollectionProducts end So, the params of 'CollectionProducts' are available in the controller. But if I move 'CollectionProducts' from the top to the bottom, I receive the params of 'CollectionConditions' in the controller, which is not correct. It mean I'm only retrieving first resource tool params in the controller, either it's CollectionProducts or CollectionProducts. I want to have the params of both resource tools in the controller.
l
hey Abul. can you please create a reproduction repo so we can have a look?
and also open up a GitHub issue please?
3 Views