NoamB/sorcery — pull request #259 by durran (2012-04-13 09:03:07+00:00)
Title: Be Mongoid forward & backwards compatible:

- In Mongoid 3, `Criteria#and` is provided via Origin, and is no longer an
alias for `#where` and is now used for providing $and selection in
MongoDB queries. I've modified the get_current_users criteria to use
`#where` for each chain, which will be both forwards and backwards
compatible with Mongoid.

- Also fixed 3 broken specs in the rails3_mongoid tests that could not
cope with Time.now properly if in a timezone ahead of UTC, like I am
in Berlin

- Fixes #258.