#4 ✓resolved
Adam Bair

Provide an option to make the filter non-destructive

Reported by Adam Bair | June 1st, 2008 @ 03:51 AM | in v0.1

Currently data is modified before validation and saved to the database in the modified form. There should be an option to allow the filter be used without modifying the original data:

Store the dirty string (origial) in the database.

Call it with post.body, post.body.original, post.body.clean.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Fu-fu: The Profanity Filter for Rails.

http://github.com/adambair/fu-fu/tree/master

People watching this ticket

Pages