aperture science wrote in post #961957:
> I see, thanks.
>
> If I prepend "<%= debug @tags>" prior to the tag cloud block, I
> receive this on my page:
>
> ---
> - !ruby/object:ActsAsTaggableOn::Tag
>   attributes:
>     name: post test
>     id: "2"
>     count: "1"
>   attributes_cache: {}
>
>   readonly: true
>
> post test

That looks reasonable.

>
>
>
> but it was necessary to move the @tags definition into my index action
> in order for it to display

Where was it before (when it wasn't working)?

> however, it only works on the index of the controller in which it is
> defined, i suppose i can define it in all of my controller's indexes,
> but I don't imagine it is supposed to behave this way

It probably is.  If you need to set it in many places, you may need a 
before_filter.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to