Module: DataMapper::Model
- Defined in:
- lib/dm-mapping/model.rb
Instance Method Summary collapse
-
#fields ⇒ Object
it simply calls Migration#fields(self.storage_name) e.g.
Instance Method Details
#fields ⇒ Object
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 |