Use nanoseconds for cache_key timestamp instead of plain seconds
Merge pull request #3773 from ElMassimo/master

Use nanoseconds for cache_key timestamp instead of plain seconds
Changelog Entry for #3773
User.all.pluck(*multiple) should not compact the result.

When passing multiple fields, and a few fields dont exist, or dont have
data, we should return nil, otherwise the returned arrays will have
different size.

[fixes #3703]
Fix pluck test
Add gemfiles/*.lock to gitignore
Merge pull request #3760 from zenjoy/fix/query-cached-getmore

Fix for query cache with large queries
Fix #reload uses id instead of _id
Merge pull request #3792 from gauthier-delacroix/Fix-#reload-uses-id-instead-of-_id

Fix #reload uses id instead of _id
Added test for rails 4.2
use public_send instead of send
Run #bit tests on mongo 2.6+
Merge pull request #3796 from seuros/public_send

Test in rails 4.2 and use public_send instead of send
allow_failure on rails 4.2 for now
Dont raise MissingAttributeError when using only.

This case should return false instead of raise:
     Person.only(:name).first.attribute_present?(:id)
Fix typo in mongoid.yml configuration template
Merge pull request #3836 from Zorbash/patch-1

Fix typo in mongoid.yml configuration template
Added underscore prefix for unused local parameteres as per the ruby style guide https://github.com/bbatsov/ruby-style-guide/blob/master/README.md#underscore-unused-vars
Rephrase comment in lib/mongoid/railtie.rb
remove Railtie.generator

This method is no longer needed, he detects the generator method wich has changed from Rails 2.x to 3.0.0. Mongoid has a dependency to activemodel > 4.0, which related in a dependency to Rails > 4.0. Which means that this check is no longer needed, there can't be a Rails < 4.0