ActiveRecord には次のものがありました。
class Patient < ActiveRecord::Base
end
DataMapper には次のものがありました。
class Patient
include DataMapper::Resource
property :id, Serial
property :name, String
has n, :orders
# ... a lot of properties and associations more
end
DataMapperで列名を自動的に取得するには?