couchrest/couchrest — pull request #86 by xrl (2012-07-11 21:45:29+00:00)
Title: Remove deprecation. All stale to be removed from request.

One little fix to a deprecation warning in 1.9.3. Still works in 1.9.2.

Another subtle fix to filter out nil arguments in requests. Many of our views set {:stale => :update_after}. CouchDB does not define any other option for stale, so we cannot simple override it with {:stale => :update_immediately}.

The ORM needs to provide a way to remove a value from the views defaults. If you pass in nil for any value it will be sifted out before constructing the query so this is useful for more than just overriding "stale".