# Before\_save with acts\_as\_versioned

**URL:** <https://www.ruby-forum.com/t/before-save-with-acts-as-versioned/124234>\
**Category:** Rails\
**Created:** [December 26, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/before-save-with-acts-as-versioned/124234 "2007-12-26T20:46:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [December 26, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/before-save-with-acts-as-versioned/124234/1 "2007-12-26T20:46:52Z")

</div>

Yes, I know about the :if/:if\_changed clause on acts\_as\_versioned

```
... content_changed or author_changed ....

```

That’s not what I’m asking about.

What I’m wondering about is something like applying the spiffy new 2.0  
sanitize as a ‘before\_save’

–  
A little inaccuracy can save tons of explanation. – Saki
