1
0

Target system tests started to run

This commit is contained in:
cryptogopher
2020-08-16 15:27:07 +02:00
parent 66a364d017
commit 955125b843
10 changed files with 41 additions and 6 deletions

View File

@@ -6,6 +6,7 @@ class Goal < ActiveRecord::Base
class_name: 'Exposure', extend: BodyTracking::TogglableExposures
has_many :quantities, -> { order "lft" }, through: :target_exposures
validates :target_exposures, presence: true
validates :name, presence: true, uniqueness: {scope: :project_id}
def is_binding?