# Acts\_as\_taggable

**URL:** <https://www.ruby-forum.com/t/acts-as-taggable/119529>\
**Category:** Rails\
**Created:** [November 7, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/acts-as-taggable/119529 "2007-11-07T19:30:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [November 7, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/acts-as-taggable/119529/1 "2007-11-07T19:30:02Z")

</div>

Hi, i was trying the acts\_as\_taggable gem, without success

i’ve installed the gem (gem install acts\_as\_taggable),  
added “gem ‘acts\_as\_taggable’” at the end of environment.rb,  
and added ‘acts\_as\_taggable’ into my Artigo model

but when i try to use my model now, i get this error message:  
NoMethodError: undefined method `acts\_as\_taggable’ for Artigo:Class

any ideas?  
thanks,  
Paulo Geyer

---

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [November 7, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/acts-as-taggable/119529/2 "2007-11-07T19:35:09Z")

</div>

write some tests to verify that the module in acts as taggable have been  
required and included in the model

---

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [November 7, 2007, 7:36pm UTC](https://www.ruby-forum.com/t/acts-as-taggable/119529/3 "2007-11-07T19:36:28Z")

</div>

On Nov 7, 2007 12:29 PM, PaÅ­lo Geyer [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> any ideas?  
> Did you restart your server? It’s required after modifying  
> environment.rb.

–  
Greg D.  
[http://destiney.com/](http://destiney.com/)

---

<div class="post-metadata">

**Author:** ![PaSSS\_lo\_Geyer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@PaSSS\_lo\_Geyer](https://www.ruby-forum.com/u/PaSSS_lo_Geyer)\
**Post date:** [November 7, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/acts-as-taggable/119529/4 "2007-11-07T20:02:15Z")

</div>

Yes, i’ve restarted my server, as it seems, acts\_as\_taggable was  
loaded without problems.  
I did an test adding “gem ‘foo’” to see if i get an error message, and  
i got. So it is there

i’m still trying to figure out what is happening here, if you have any  
other suggestions, please tell me

thanks
