Forum: Ruby on Rails how to get acts_as_versioned able to delete only selected 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.
E5aa93fc7b0046eca522b8a5e232a9bf?d=identicon&s=25 Oz4899@gmail.com (Guest)
on 2009-04-27 19:27
(Received via mailing list)
Hello everyone

i'm working on uploading file by using attachment_fu and
acts_as_versioned


so the problem is i can't delete only selected version


for example ;

i have file a.txt  and this file have 5 version each version is
viewable ( that mean you can view version 1 , version 2 , version
3 .............. )

a.txt ( version1 )
a.txt ( version2)
a.txt ( version3 )
a.txt ( version 4)
a.txt (version 5 )  <<<<< latest version

and i would like to delete ONLY version 3  so the result after delete
should be like this

a.txt ( version 1)
a.txt ( version 2 )
a.txt ( version 4)
a.txt (version 5 )  <<<<< latest version

and if user choose delete version 5 , the result after delete should
be like this

a.txt  (version 1)
a.txt ( version 2)
a.txt (version 4)  <<<<<<<<< latest version

any suggestion ?

ps. sorry about my english
This topic is locked and can not be replied to.