No, usually separate declarations of a foreign key field are not needed. Mongoid will implicitly create a user_id field for any documents that need it. It follows the same foreign key naming conventions as ActiveRecord.
If these conventions are not suitable for your model (for example, if you have two associations with the same class), you can override the foreign key name. eg.
belongs_to :user, foreign_key: :friend_id
Again, this is almost the same as ActiveRecord (but without transfer of course).
source share