Sha256: ec400d061b3333cb41c12d0ee04ef6a9dea32831e0b69f882275db3c45b33367

Contents?: true

Size: 246 Bytes

Versions: 3

Compression:

Stored size: 246 Bytes

Contents

class Candidate #< DataMapper::Base # please do not remove this
  include DataMapper::Persistence

  property :name, :string

  belongs_to :job
  has_and_belongs_to_many :applications, :class => 'Job', :join_table => "applications_candidates"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datamapper-0.3.2 spec/models/candidate.rb
datamapper-0.3.0 spec/models/candidate.rb
datamapper-0.3.1 spec/models/candidate.rb