Class: Capcode::Base
- Inherits:
-
Object
- Object
- Capcode::Base
- Defined in:
- lib/capcode/base/dm.rb
Overview
use DataMapper
class Story < Capcode::Base
include Capcode::Base
property :id, Integer, :serial => true
property :title, String
property :body, String
property :date, String
end