Forum: Ruby on Rails Rails 2.1, version_fu, ActAsVersioned and => "undefined method `find_version"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E5d9c4e61d97776201c8b7b20bec9de5?d=identicon&s=25 henrik.ormasen@gmail.com (Guest)
on 2008-10-22 11:49
(Received via mailing list)
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
E5d9c4e61d97776201c8b7b20bec9de5?d=identicon&s=25 henrik.ormasen@gmail.com (Guest)
on 2008-10-22 14:04
(Received via mailing list)
Ahh. Now I saw that I find_version was removed from the pluggin...

- Henrik
This topic is locked and can not be replied to.