Skip to content
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

Merged
merged 1 commit into from Jun 21, 2022

Conversation

p-mongo
Copy link
Contributor

@p-mongo p-mongo commented Jun 17, 2022

No description provided.

@p-mongo p-mongo changed the title MONGOID-5387 5387 MONGOID-5387 Link to AR callback documentation from Mongoid callback documentation Jun 17, 2022
@p-mongo
Copy link
Contributor Author

p-mongo commented Jun 17, 2022

@@ -10,6 +10,10 @@ Callbacks
:depth: 2
:class: singlecol

Mongoid implements many of the `ActiveRecord callbacks
<https://guides.rubyonrails.org/active_record_callbacks.html>`_.
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@p-mongo p-mongo merged commit bbcbd0b into mongodb:master Jun 21, 2022
p-mongo added a commit that referenced this pull request Jun 21, 2022
…documentation (#5326)

Co-authored-by: Oleg Pudeyev <code@olegp.name>
p-mongo added a commit that referenced this pull request Jun 21, 2022
…documentation (#5326)

Co-authored-by: Oleg Pudeyev <code@olegp.name>
p-mongo added a commit that referenced this pull request Jun 21, 2022
…documentation (#5326)

Co-authored-by: Oleg Pudeyev <code@olegp.name>
p-mongo pushed a commit to johnnyshields/mongoid that referenced this pull request Jun 27, 2022
* 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants