Fixing #property? support for boolean and TrueClass
This commit is contained in:
parent
81168bdd79
commit
3fa8c4b215
3 changed files with 15 additions and 1 deletions
1
spec/fixtures/more/course.rb
vendored
1
spec/fixtures/more/course.rb
vendored
|
@ -15,6 +15,7 @@ class Course < CouchRest::ExtendedDocument
|
|||
property :started_on, :type => 'Date'
|
||||
property :updated_at, :type => 'DateTime'
|
||||
property :active, :type => 'Boolean'
|
||||
property :very_active, :type => TrueClass
|
||||
property :klass, :type => 'Class'
|
||||
|
||||
view_by :title
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue