More options (I've only used acts_as_versioned, so these aren't recommendations below, just possible options): - Paper Trail: http://github.com/airblade/paper_trail/tree/master - Acts as Git: http://github.com/courtenay/acts_like_git/tree/master
On Jul 14, 2009, at 12:42 PM, Mark Ratjens wrote: > Thanks for the responses, > > It looks like I may have had an old version as a plugin in my app > from many Rails versions ago, probably from the old subversion > location. > > This morning, I installed it as a gem and will test it when next I > get the opportunity (hopefully today) ... stay tuned. > > @PommyTom ... I think acts_as_revisable was one of the alternatives > I took a quick look at. From the documentation, it wasn't obvious > that I could search back through the versions with a filter > condition. I have to admit, I was flying through it and may have > missed something. > > cheers and thanks > > Mark > > On Tue, Jul 14, 2009 at 11:46 AM, Dave Bolton <[email protected]> > wrote: > We got a lot of kilometre-age out of version_fu, for creating > versionable records with their own behaviour and extensions. Two > thumbs up from me. > > I've got a version (teehee) of it on github, with the extra stuff > for extensibility via blocks. > > http://github.com/lightningdb/version_fu/tree/master > > Cheers, > Dave > > > > On Tue, Jul 14, 2009 at 10:46 AM, Dylan Egan <[email protected]> > wrote: > > Hi Mark, > > Are you using it via the gem or from the latest in git? I haven't > played with it in a long time so not sure if it was ever released to > support 2.3 (or patched on git). > > If you are using the latest then you could try out > http://github.com/jmckible/version_fu/tree/master, I haven't played > with it myself though. > > Cheers, > > Dylan. > > 2009/7/13 Mark Ratjens <[email protected]>: > > Has anyone got acts_as_versioned working in 2.3? I'm getting some > quite > > low-level errors in ActiveRecord modules ... it looks like > acts_as_versioned > > hasn't had a update in years, so my suspicions are raised. > > > > I'm prepared to roll up my sleeves and get it working if that's > what is > > needed (i.e others would use it too) ... or can anyone recommend an > > alternative? One thing I like about acts_as_versioned is the > ability to use > > ActiveRecord-style search arguments to filter versions, for > example, in: > > > > > > def status_changed_today?(date) > > previous = find_versions(:first, :conditions => ['updated_at > < ?', > > date]) > > !previous or previous.state != state > > end > > > > so I'd like an alternative to have that feature too. > > > > regards > > > > Mark > > > > > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---
