# Stacktrace when using taggable\_events in Radiant 0.9.1 - Undefined method \`attached\_tags'

**URL:** <https://www.ruby-forum.com/t/stacktrace-when-using-taggable-events-in-radiant-0-9-1-undefined-method-attached-tags/198127>\
**Category:** Radiant CMS\
**Created:** [October 26, 2010, 9:03pm UTC](https://www.ruby-forum.com/t/stacktrace-when-using-taggable-events-in-radiant-0-9-1-undefined-method-attached-tags/198127 "2010-10-26T21:03:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [October 26, 2010, 9:03pm UTC](https://www.ruby-forum.com/t/stacktrace-when-using-taggable-events-in-radiant-0-9-1-undefined-method-attached-tags/198127/1 "2010-10-26T21:03:08Z")

</div>

Hi,  
Does anyone know why I’m getting this stacktrace when I try to add a  
new Event in my Radiant project?

NoMethodError (undefined method `attached_tags' for #<Event: 0x2ad8d575a7a0>): vendor/extensions/taggable_events/lib/taggable_event.rb:15:in`inherit\_tags’  
radiant (0.9.1) app/controllers/admin/resource\_controller.rb:64:in  
`create' radiant (0.9.1) vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb: 20:in`process’  
/home/heroku\_rack/lib/static\_assets.rb:9:in `call' /home/heroku_rack/lib/last_access.rb:15:in`call’  
/home/heroku\_rack/lib/date\_header.rb:14:in `call' thin (1.2.6) lib/thin/connection.rb:76:in`pre\_process’  
thin (1.2.6) lib/thin/connection.rb:74:in `catch' thin (1.2.6) lib/thin/connection.rb:74:in`pre\_process’  
thin (1.2.6) lib/thin/connection.rb:57:in `process' thin (1.2.6) lib/thin/connection.rb:42:in`receive\_data’  
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in`run’  
thin (1.2.6) lib/thin/backends/base.rb:57:in `start' thin (1.2.6) lib/thin/server.rb:156:in`start’  
thin (1.2.6) lib/thin/controllers/controller.rb:80:in `start' thin (1.2.6) lib/thin/runner.rb:177:in`send’  
thin (1.2.6) lib/thin/runner.rb:177:in `run_command' thin (1.2.6) lib/thin/runner.rb:143:in`run!’  
thin (1.2.6) bin/thin:6  
/usr/ruby1.8.7/bin/thin:19:in `load’  
/usr/ruby1.8.7/bin/thin:19

Am I missing another extension/plugin that is not mentioned in the  
documentation for taggable\_events extension?

Please help.

Thanks,  
SS

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 27, 2010, 7:01am UTC](https://www.ruby-forum.com/t/stacktrace-when-using-taggable-events-in-radiant-0-9-1-undefined-method-attached-tags/198127/2 "2010-10-27T07:01:50Z")

</div>

On Tue, Oct 26, 2010 at 2:02 PM, SS [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,  
> Does anyone know why I’m getting this stacktrace when I try to add a  
> new Event in my Radiant project?
> 
> Am I missing another extension/plugin that is not mentioned in the  
> documentation for taggable\_events extension?

i don’t have any first hand experience but a quick poke around the  
repo it looks like you need at least event\_calendar. do you have that  
installed properly?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 27, 2010, 7:08am UTC](https://www.ruby-forum.com/t/stacktrace-when-using-taggable-events-in-radiant-0-9-1-undefined-method-attached-tags/198127/3 "2010-10-27T07:08:06Z")

</div>

On Wed, Oct 27, 2010 at 1:00 AM, john muhl [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> installed properly?

Nor I, but it sounds like you might not have migrated taggable\_events  
if you are getting "undefined method `attached\_tags’ "

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 27, 2010, 8:20am UTC](https://www.ruby-forum.com/t/stacktrace-when-using-taggable-events-in-radiant-0-9-1-undefined-method-attached-tags/198127/4 "2010-10-27T08:20:11Z")

</div>

On 27 Oct 2010, at 06:05, Jim G. wrote:

> > i don’t have any first hand experience but a quick poke around the  
> > repo it looks like you need at least event\_calendar. do you have that  
> > installed properly?
> 
> Nor I, but it sounds like you might not have migrated taggable\_events  
> if you are getting "undefined method `attached\_tags’ "

Taggable\_events is a tiny bit of glue, and not very well documented.  
Sorry! Doesn’t do much, you see, except to connect these two:

- taggable extension:  
[GitHub - spanner/radiant-taggable-extension: This is another tagging solution for radiant: more versatile but less to the point than the tags extension. · GitHub](http://github.com/spanner/radiant-taggable-extension)
- event\_calendar extension:  
[GitHub - radiant/radiant-event-calendar-extension: Create, organise and display calendar events in your radiant site. Read, aggregate and serve ical subscriptions. · GitHub](http://github.com/radiant/radiant-event-calendar-extension)

The attached\_tags association is defined by taggable (pages already  
have a tags method) so I suspect you’re missing that. I’ll make the  
instructions better.

best,

will

ps. I haven’t seen your original messages with the trace yet, but it  
does sound we’re missing a friendly ‘uninstalled extension’ signal now  
that they all expect to be installed as gems.
