how to insert user_id,user_name,user_type with vestal versions into the versions table ?
class Page < ActiveRecord::Base
versioned
end
how to insert user_id,user_name,user_type with vestal versions into the versions table ?
class Page < ActiveRecord::Base
versioned
end
Copyright © 2021 Jogjafile Inc.
You need to add a field to your versioned model, :updated_by, then the plugin will do the rest. So for example,