Hello! Please help with trouble (I think it must be obvious solution)
I have code for displaying main menu:
@main_menu = Page.where(active: true).arrange(order: :position)
It grabs all nodes with active parameter is set to true. But if the parent node for some children is set to active:false, they connects to grandparent node, and so on. How to avoid this behavior, so if parent node is excluded then all children nodes become excluded too?