Sha256: 7e45a0c67cd9d1facb354d378db7b086c3a69c6c3dc73dd9de60650d606cfa9c

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

class Value < ActiveRecord::Base
  attr_accessible :description, :title
  has_many :team_values
  has_many :teams, :through => :team_values
  has_many :evaluations
  accepts_nested_attributes_for :evaluations, :reject_if => lambda { |a| a[:content].blank? }, :allow_destroy => true
  #belongs_to :team
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multiinsert-0.0.1 app/models/value.rb