Hi Mark, I really like acts_as_revisable, http://github.com/rich/acts_as_revisable/tree/master
Been using it quite a lot lately (with Rails 2.3)... The only drawback so far is the inability to handle sub-classes, but i'm working on a patch for that... Give it a go to see if it suits your needs. Simple to use ActiveRecord to find previous versions as all data is stored in the same table. I don't have an example immediately to hand though... Cheers, Tom On Jul 13, 9:11 pm, Mark Ratjens <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
