Sha256: 491feaaa084a60e070a87b49c48e9e8cf3a7ff5c31329208a34e47f46661edc6

Contents?: true

Size: 388 Bytes

Versions: 14

Compression:

Stored size: 388 Bytes

Contents

# These arms are part of the adolescent and adult projects
# Between 1 and 8 groups are in each arm and each group
# could have between 1 and 10 or so participants
class Arm < ActiveRecord::Base
  has_many :groups

  validates :title, presence: true

  def social?
    is_social
  end

  def woz?
    has_woz
  end

  def bit_core_tools
    self
  end

  def find_by_type(type)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
think_feel_do_dashboard-1.2.1 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.2.0.beta1 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.21 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.20 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.19 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.18 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.17 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.16 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.15 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.14 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.13 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.12 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.11 spec/dummy/app/models/arm.rb
think_feel_do_dashboard-1.1.10 spec/dummy/app/models/arm.rb