Sha256: a0bd86c65ac87fde95ecb4ee412b0aeef592608a452efc27b4025c2847487f92

Contents?: true

Size: 264 Bytes

Versions: 3

Compression:

Stored size: 264 Bytes

Contents

class Fruit #< DataMapper::Base # please do not remove this
  include DataMapper::Persistence
    
  set_table_name 'fruit'
  property :name, :string, :column => 'fruit_name'
  
  belongs_to :devourer_of_souls, :class => 'Animal', :foreign_key => 'devourer_id'
end

Version data entries

3 entries across 3 versions & 1 rubygems

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