Hi I have a model which both have optimistic locking and a counter. Is there any way to disable the version auto increment when only the counter is updated?
Lets say I have a post which has many comments. When I add a comment I don't want the version_lock to be incremented. This happens now because the post has a comments_count column. /mattias -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---