Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

comment with each version change? #55

Open
lisareese opened this issue Nov 4, 2010 · 1 comment
Open

comment with each version change? #55

lisareese opened this issue Nov 4, 2010 · 1 comment

Comments

@lisareese
Copy link

Hi,
Is there a way to add a comment or a reason for the version change?

Something to the effect of

post.update_attributes(:message => "something new", :reason_for_update => "correcting typo")

I considered using tags but it says it has to be unique.

Thanks.

@grumpymaker
Copy link

I would love to be able to associate a comment with a version / change! This would make it super useful for those of us need to associate a textual history to an instance of a Model. This would be really useful in something like an inventory management application, etc.

Of course, for most uses you could compare versions and create this history on the fly, but it would be nice to be able to pull something like Model.version.comment (or Model.versions.each do |v| puts v.comment end). :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants