I've updated and old app to Rails 2.1, and now I can't get
ActAsVersioned to work anymore. I've updated to last version who is
updated for Rails 2.1, and also tried VerdsionFU but both give me
error message "undefined method `find_version" when I tries to role
back to an old version.

Can it be that I've not updated anything in my tables which causes
this?

--- Model:
class Article < ActiveRecord::Base
#  acts_as_versioned
  version_fu

--- Controller:
class ArticlesController < ApplicationController
....
      @article = Article.find_version(params[:id], params[:versjon])

(Btw. Anybody who have any recommendations according if I should use
ActAsVersioned or switch to VersionFU? What is the difference?).

- Henrik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to