1
0

Target form WIP

This commit is contained in:
cryptogopher
2020-07-02 18:59:55 +02:00
parent 0df2c6ec4f
commit 5b83860ed7
6 changed files with 24 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ module BodyTracking::ProjectPatch
has_many :goals, dependent: :destroy do
def binding
find_or_create_by(name: "binding")
find_or_create_by(name: "- binding -")
end
end
has_many :targets, through: :goals