Forum: Radiant CMS Stacktrace when using taggable_events in Radiant 0.9.1 - Undefined method `attached_tags'

Posted by SS (Guest)
on 2010-10-26 21:03
(Received via mailing list)
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
Posted by John Muhl (johnmuhl)
on 2010-10-27 07:01
(Received via mailing list)
On Tue, Oct 26, 2010 at 2:02 PM, SS <stoyan.stoitchkov@gmail.com> 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?
Posted by Jim Gay (Guest)
on 2010-10-27 07:08
(Received via mailing list)
On Wed, Oct 27, 2010 at 1:00 AM, john muhl <johnmuhl@gmail.com> wrote:
> installed properly?
>

Nor I, but it sounds like you might not have migrated taggable_events
if you are getting "undefined method `attached_tags' "
Posted by William Ross (spanner)
on 2010-10-27 08:20
(Received via mailing list)
On 27 Oct 2010, at 06:05, Jim Gay 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: 
http://github.com/spanner/radiant-taggable-extension
* event_calendar extension: 
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.