Mongoid no longer provides old .associations method on model
class, only on instance, so it should be replaced with .relations
Fix spec for Mongoid - mongoid now requires scopes to be procs
Merge pull request #1888 from glebtv/fix-mongoid-4-assoc

Mongoid no longer provides old .associations method on model class