A
A
Alexander Petrov2016-04-02 21:46:34
Ruby on Rails
Alexander Petrov, 2016-04-02 21:46:34

How to get around empty Ancestry error in Rails Admin?

The problem is banal.
Site on rails admin.
The tree is made with Ancestry. Well, that is, daddies can invest in each other.
And when I create the root directory, according to the logic, the Ancestry field should be empty, and rails admin swears, they say, why is it empty!

Page failed to be updated
- Ancestry is invalid

how to bypass this protection to leave the field empty?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question