You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a correlated issue that the ActiveModel docs come up in web searches WAY higher than the ActiveRecord ones. I would suggest two changes to help with this for SEO and discoverability.
Reference the ActiveRecord doc in the ActiveModel one so folks know it exists if they end up on ActiveModel's
Add a small section on dirty tracking to one of the ActiveRecord Rails Guides. This would be a great thing in general as it is massively useful and many people don't know about it.
This discussion was converted from issue #51769 on May 19, 2024 01:14.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
ActiveModel::Dirty has doc entries like https://api.rubyonrails.org/classes/ActiveModel/Dirty.html#method-i-2A_changed-3F for the dynamically-generated methods. https://api.rubyonrails.org/classes/ActiveRecord/AttributeMethods/Dirty.html does not have such docs, and they would be very helpful.
There is a correlated issue that the ActiveModel docs come up in web searches WAY higher than the ActiveRecord ones. I would suggest two changes to help with this for SEO and discoverability.
Beta Was this translation helpful? Give feedback.
All reactions