couchrest_model/spec/fixtures/more/event.rb
Tapajós 3c2ebb022d Merge remote branch 'remotes/old/master'
Conflicts:
	README.md
	couchrest.gemspec
	lib/couchrest.rb
	lib/couchrest/mixins/properties.rb
2009-09-03 23:10:06 -03:00

9 lines
No EOL
194 B
Ruby

class Event < CouchRest::ExtendedDocument
use_database DB
property :subject
property :occurs_at, :cast_as => 'Time', :send => 'parse'
property :end_date, :cast_as => 'Date'
end