class Hash

This file contains various hacks for Rails compatibility.

Public Class Methods

===(other) click to toggle source

Hack so that CouchRest::Document, which descends from Hash, doesn’t appear to Rails routing as a Hash of options

# File lib/couchrest/support/rails.rb, line 5
def self.===(other)
  return false if self == Hash && other.is_a?(CouchRest::Document)
  super
end