Saving a 'Date' using DataMapper on AppEngine+JRuby
- by Ryan Montgomery
I have a a model as follows:
class Total
include DataMapper::Resource
property :id, Serial
property :amount, Float, :default => 0.00
property :day, Date
belongs_to :calendar
end
I am trying to select a specific Total from the data-store.
class Calendar
include DataMapper::Resource
property :id, Serial
property…