Displaying 2 results from an estimated 2 matches for "act_as_versioned".
Did you mean:
acts_as_versioned
2006 Jun 13
9
act_as_versioned and join tables?
Greetings!
I''m attempting to use the act_as_versioned plugin to provide versioning
functionality for my rails app, but can''t think my way through this:
How can you use act_as_versioned to perform versioning on a HABTM join
table? It is easy to see how to do so for join models (:has_many
:through) but not so for the join table.
I want to...
2006 Mar 16
10
Nubee Callbacks problem
I never want to alter a model(row). When a model has been changed i
want a new copy to be created.
What is the best way to implement this?
I think using callbacks might be the answer.
So model.save will create a new row, and leave the old one unchanged.
Any ideas? I can easily implement this in the controller but i''d rather
it be done transparently. Also errors should be passed back