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

Commit

Permalink
Merge pull request #219 from thauma9/master
Browse files Browse the repository at this point in the history
Update version
  • Loading branch information
tau9 authored Nov 22, 2018
2 parents 369fd4a + 188046b commit 78a3c10
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,17 +595,26 @@ To change appereance and behaviour of the page add your styles to `app/assets/st
---

# Field settings and field groups

## Orphans

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.

To avoid the problem run the following command from your shell:
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.

To make sure you haven't any orphan run the following commands from your shell:

```bash
rails binda:remove_orphan_fields
rails binda:remove_orphan_components
rails binda:remote_orphan_boards
```

## Missing Field instances

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:

```bash
rails binda:create_missing_field_instances
```
---


Expand Down

0 comments on commit 78a3c10

Please sign in to comment.