# File lib/generators/data_mapper_model.rb, line 4 def datamapper_type(type) return 'DateTime' if type == 'datetime' return type.camel_case end