Time handling improved to ensure UTC always used
This commit is contained in:
parent
3a3fc3c41d
commit
38257f4909
9 changed files with 662 additions and 536 deletions
|
@ -1,9 +0,0 @@
|
|||
# This file contains various hacks for Rails compatibility.
|
||||
class Hash
|
||||
# Hack so that CouchRest::Document, which descends from Hash,
|
||||
# doesn't appear to Rails routing as a Hash of options
|
||||
def self.===(other)
|
||||
return false if self == Hash && other.is_a?(CouchRest::Document)
|
||||
super
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue