version control for models

20 views
Skip to first unread message

Martin

unread,
Mar 26, 2016, 8:07:58 AM3/26/16
to Ru...@kaffanke.at, o...@kaffanke.at, Rails@kaffanke.at:Talk
Hi there,

for version control of models I found that here:
https://github.com/technoweenie/acts_as_versioned

Its last updated 4 years ago, so I wonder if there isn't a newer package
for that for rails 4 ?

Background: I would like to do a review on changed articles, so if the
article is public and the creator changes it, I would like to have the
original online until the review is done, then the new version should go
online.

Thanks for your help,
Martin


--
Lösungen statt Diagnosen

Hassan Schroeder

unread,
Mar 26, 2016, 10:30:58 AM3/26/16
to rubyonrails-talk
On Sat, Mar 26, 2016 at 5:07 AM, Martin <myl...@kaffanke.at> wrote:

> for version control of models I found that here:
> https://github.com/technoweenie/acts_as_versioned
>
> Its last updated 4 years ago, so I wonder if there isn't a newer package
> for that for rails 4 ?

Perhaps you can find something appropriate here:

https://www.ruby-toolbox.com/categories/Active_Record_Versioning

HTH,
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Walter Lee Davis

unread,
Mar 26, 2016, 10:38:02 AM3/26/16
to rubyonra...@googlegroups.com
I just saw this the other day. I haven't tried it yet, but it looks really simple and straightforward: http://blog.nrowegt.com/quickly-create-a-self-referential-versioning-system-for-ruby-on-rails/

Walter
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAGRgFs_xONhophkgN2A1cLu-jV8KEUXG5X8a%2BSX%3Dh2Cg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

Jesus Castello

unread,
Apr 13, 2016, 9:52:34 AM4/13/16
to rubyonra...@googlegroups.com
I think the PaperTrail gem does what you want & last update was 4 days
ago :)

https://github.com/airblade/paper_trail

--
Posted via http://www.ruby-forum.com/.
Reply all
Reply to author
Forward
0 new messages