Questions tagged [acts-as-versioned]
7 questions
17
votes
6 answers
Versioning of Models in Ruby on Rails
I'm looking for a plugin/act to allow versioning of my models. It's kind of difficult to find a list of the available solutions. So far I gathered:
acts_as_versioned
simply_versioned
vestal_versions
The last two solutions only require a single…

Marcel Jackwerth
- 53,948
- 9
- 74
- 88
5
votes
3 answers
General question about Ruby
I have installed the acts_as_versioned plugin from github.com in my rails application, and there was a block of code that I don't fully understand, I was hoping someone could clear this up for me
class_eval <<-CLASS_METHODS
def a_bunch_of_stuff
…

Chris Drappier
- 5,280
- 10
- 40
- 64
2
votes
2 answers
What's the best way to store the ActiveRecord Models with Versions and their Associations with Versions?
If all I have is one model (for example Wiki) and want to save it along with its versions, I could use acts_as_versioned plugin which stores the wikis in "wikis" table and its versions in "wikis_versions" table. This is plain an simple even if I…

Dharam Gollapudi
- 6,328
- 2
- 34
- 42
1
vote
1 answer
Rails ActiveRecord plugin acts_as_versioned for Java (JPA)
Anyone know of an equivalent of the acts_as_versioned plugin for ActiveRecord in Rails for Java (more specifically for JPA)
I'm asking before I have to go to the trouble of re-modelling to accomodate and rolling my own :o)

Ben Hoskins
- 3,638
- 2
- 13
- 7
1
vote
2 answers
Rails & Acts-as-versioned: How would you restfully revert records?
How can you revert records in a way that respects REST conventions and routing?
I am looking for examples of how to setup my routes.rb and build the link & controller action to do the revert. All the examples I have found are pre-REST rails.
My…

srboisvert
- 12,679
- 15
- 63
- 87
1
vote
0 answers
Rails - PaperClip & Acts_As_Versioned - Accessing a Photo URL
I've implemented the following:
File versioning in Ruby on Rails with Paperclip & acts_as_versioned:
[http://eggsonbread.com/2009/07/23/file-versioning-in-ruby-on-rails-with-paperclip-acts_as_versioned/][1]
When you upload a new photo it is now…

AnApprentice
- 108,152
- 195
- 629
- 1,012
0
votes
2 answers
Acts_as_Version is there a way to skip a versioning from occurring on save?
Using rails acts_as_versioned, is there a way to skip a versioning event from happening, and just allowing a regular save?

AnApprentice
- 108,152
- 195
- 629
- 1,012