Module: DataMapper::Model

Defined in:
lib/dm-mapping/model.rb

Instance Method Summary collapse

Instance Method Details

#fieldsObject

it simply calls Migration#fields(self.storage_name)

e.g.
     DataMapper.repository.adapter.fields storage_name


7
8
9
# File 'lib/dm-mapping/model.rb', line 7

def fields
  DataMapper.repository.adapter.fields storage_name
end