# Best way to "flag" an item?

**URL:** <https://www.ruby-forum.com/t/best-way-to-flag-an-item/135199>\
**Category:** Rails\
**Created:** [April 19, 2008, 3:41am UTC](https://www.ruby-forum.com/t/best-way-to-flag-an-item/135199 "2008-04-19T03:41:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a2ahmad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@a2ahmad](https://www.ruby-forum.com/u/a2ahmad)\
**Post date:** [April 19, 2008, 3:41am UTC](https://www.ruby-forum.com/t/best-way-to-flag-an-item/135199/1 "2008-04-19T03:41:35Z")

</div>

Anyone have a favorite way to flag an item (like a product) that might  
be inappropriate, spam, etc…?

I know there is acts\_as\_flaggable however it seems to have mixed  
reviews.

Wondering if there is another good solution used by the community.

Thanks.

---

<div class="post-metadata">

**Author:** ![a2ahmad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9de053/32.png) [@a2ahmad](https://www.ruby-forum.com/u/a2ahmad)\
**Post date:** [April 19, 2008, 7:39am UTC](https://www.ruby-forum.com/t/best-way-to-flag-an-item/135199/2 "2008-04-19T07:39:17Z")

</div>

I prefer to make it manually, i never try acts\_as\_flaggable: if i want  
flag item, i will make new table that is containing item\_id, flagged  
(boolean) and make role management to that id, (if there is user  
relation to item, just add user\_id for new column to flaged\_items table)

is it a solution for you?

Reinhart  
[http://teapoci.blogspot.com](http://teapoci.blogspot.com)
