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
I think it'd be great to add a helper [] method to find one at a specific version, I'd like something like post.history_tracks[22], post.history_tracks.versions[22], or post.history_tracks.find(22) to work. Want to give it a shot?
Tracks let you get the original and the modified version.
Thanks. This will give me the original value of changed fields. So to get the whole collection with all its fields, I'll need to loop over the tracks and form the collection, right?
I like the helper method suggestion, I'll try to find some time on weekend and work on it.
Thanks. This will give me the original value of changed fields. So to get the whole collection with all its fields, I'll need to loop over the tracks and form the collection, right?
Are you trying to find a state for multiple records? I think some helper methods for that, even if inefficient, could be awesome, e.g. Post.all.at(timestamp), etc.
My collection's version is 22 for example and I want to know what it looked like at version 5. Is there a inbuilt way to do that?
The text was updated successfully, but these errors were encountered: