active_snapshot icon indicating copy to clipboard operation
active_snapshot copied to clipboard

Simplified snapshots and restoration for ActiveRecord models and associations with a transparent white-box implementation

Results 15 active_snapshot issues
Sort by recently updated
recently updated
newest added

No issue to report but after trying to understand papertrail, I found this gem and I am floored at how elegant and clear it is. I wanted a way to...

I'm experiencing random failures when restoring a snapshot with children with foreign keys, which raises an `ActiveRecord::InvalidForeignKey` exception when a child is restored/created in the database before the parent record...

If you want to use a JSON column instead of YAML encoded solution. active_record-import and MySQL were not playing nice with JSON columns so I switch to a YAML encoded...

Hi, I would like to exclude certain attributes from parent record (not snapshot children) when creating a snapshot and I would like to know if there is an easy way...

As far as I can tell the `unique: true` attribute on `create_table` is not supported. And just as well as the uniqueness is scoped anyway. At least that's what I...

Hello! I'd love it to be merged into upstream. I've added configuration to switch between YAML and JSON storage types leaving the default with YAML. And on top of that...

This question was raised in another thread, https://github.com/westonganger/active_snapshot/issues/14#issuecomment-1234237716 > Is there any guide on migrating existing application from paper_trail to this gem?

documentation

As suggested in https://github.com/westonganger/active_snapshot/issues/13#issuecomment-965690730 , we could make the identifier option of `create_snapshot` optional. If someone does not set it then we could utilize the `id` of the record ```ruby...

Lets change the identifier option from a positional argument to a named argument. Current docs ``` snapshot = post.create_snapshot!( "snapshot_1", user: current_user, metadata: {}, ) ``` Updated ``` snapshot =...

Active Snapshot currently doesn't show up on https://www.ruby-toolbox.com/categories/Active_Record_Versioning.