New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MONGOID-5387 Link to AR callback documentation from Mongoid callback documentation #5326
Conversation
@@ -10,6 +10,10 @@ Callbacks | |||
:depth: 2 | |||
:class: singlecol | |||
|
|||
Mongoid implements many of the `ActiveRecord callbacks | |||
<https://guides.rubyonrails.org/active_record_callbacks.html>`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest to add ... but does not guarantee 100% feature parity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This simply creates confusion. Any divergences in behavior that are significant enough for users to know should be documented.
…documentation (#5326) Co-authored-by: Oleg Pudeyev <code@olegp.name>
…documentation (#5326) Co-authored-by: Oleg Pudeyev <code@olegp.name>
…documentation (#5326) Co-authored-by: Oleg Pudeyev <code@olegp.name>
* master: MONGOID-5381 Correct map_big_decimal_to_decimal128 feature flag default and write 8.0 release note (mongodb#5338) MONGOID-5395 Call aggregate directly on collection instead of on find view (mongodb#5343) MONGOID-5333 Document how custom fields are returned from attributes/read_attribute (mongodb#5335) MONGOID-4834 Capped collection documentation examples lack setup/context (mongodb#5337) MONGOID-5380 fix assign_attributes on embedded association to work when used before an association assignment (mongodb#5340) MONGOID-5037 use $pull instead of $pullAll for when documents change before destroying all (mongodb#5341) MONGOID-5379 Don't pass through the database_name to the collection options (mongodb#5339) MONGOID-5394 Failing test: Destroying embeds_many document when _id is nil deletes all docs (mongodb#5342) MONGOID-4160 fix feature flag reference MONGOID-5097 Test: any_of with multiple conditions and :exists in the first one on a Time field attempts to evolve true|false to Time (mongodb#5323) Mongoid operates on documents, not records (mongodb#5324) Fix MONGOID-4815 Add :conditions option example to reference documentation (mongodb#5329) MONGOID-5387 Link to AR callback documentation from Mongoid callback documentation (mongodb#5326) Tweak some callbacks documentation for grammar (mongodb#5325)
No description provided.