Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Commit 78a3c10

Browse files
authored
Merge pull request #219 from thauma9/master
Update version
2 parents 369fd4a + 188046b commit 78a3c10

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,17 +595,26 @@ To change appereance and behaviour of the page add your styles to `app/assets/st
595595
---
596596

597597
# Field settings and field groups
598-
598+
599599
## Orphans
600600

601-
Sometime playing with Rails console you might end up creating orphans, which basically are components without a field setting parent. They might cause errors in some queries and they hard to track down.
602-
603-
To avoid the problem run the following command from your shell:
601+
Sometime playing with Rails console you might end up creating orphans, which basically are children of a parent that doesn't exist anymore. They might cause errors in some queries and they are hard to track down.
604602

603+
To make sure you haven't any orphan run the following commands from your shell:
604+
605605
```bash
606606
rails binda:remove_orphan_fields
607+
rails binda:remove_orphan_components
608+
rails binda:remote_orphan_boards
607609
```
608610

611+
## Missing Field instances
612+
613+
It might happen that a board or component doesn't have a field even though a field setting exists. This might be caused by an improper use of the rails console. If you're paranoid about it run the following command:
614+
615+
```bash
616+
rails binda:create_missing_field_instances
617+
```
609618
---
610619

611620

0 commit comments

Comments
 (0)