[Radiant] using acts_as_taggable
Sean Cribbs
seancribbs at gmail.com
Mon Mar 31 08:42:41 CDT 2008
Jim,
Radius also has a "Tag" class, so try putting :: in front of the
classname so that it looks in the root namespace.
Sean
Jim Gay wrote:
> I'm trying out using acts_as_taggable_on_steroids (with the plugin in
> /vendor/plugins/) and getting an error:
>
> uninitialized constant LibraryResourceSearchPage::Tag
>
> I'm tying in an existing part of the database with radiant tags.
>
> The tag causing the error is this:
>
> tag 'library_search:resource_tags' do |tag|
> tag.locals.resource_tags = Tag.find(:all)
> tag.expand unless tag.locals.resource_tags.empty?
> end
>
> Am I missing some step in loading that plugin when Radiant starts up?
>
> Radiant 0.6.4
> _______________________________________________
> Radiant mailing list
> Post: Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list