Audited or other gem for model revisions?
I'm trying to use Jumpstart and so far it's going OK. But, for the life of me, I can't seem to get the Audited gem to reliably work. When I created the initial model, it seems to have written. From there, it seems to ignore any state changes.
I'm wondering if 1) anyone else is running into this type of problem, and/or 2) what gems people are using for revision control?
I'm wondering if 1) anyone else is running into this type of problem, and/or 2) what gems people are using for revision control?
Sure, I can.
I added the audited to the class using only the "audited" bare keyword.
I added the audited to the class using only the "audited" bare keyword.
class Funnel < ApplicationRecord audited has_associated_audits enum status: { draft: 0, published: 1 } has_rich_text :description end
When I change the status, it works just fine. However, when I edit the description, it doesn't write an audit record with the changes.
I've isolated it to that.. rich text fields don't trigger an audit.
Notifications
You’re not receiving notifications from this thread.