Ruby on Rails Wednesday, September 29, 2010

Sorry,
A correction - Question.tag_list_on(:applications) is wrong.. i use
Question.tag_counts_on(:application)

On Sep 29, 2:26 pm, Rtdp <ratnadeepdeshm...@gmail.com> wrote:
> Hello,
>
> For my rails application i have declared questions model as
> acts_as_taggable_on. For this i am using dynamic context tagging. For
> me Question.custom_contexts which is expected to give list of contexts
> doesn't work and returns empty array, though there are custom
> contexts.
> But after using Questioin.tag_list_on(:applications) and then trying
> to run Question.cutom_contexts return ["applications"] array.(and so
> on for all other custom contexts.)  What might be problem? Is this
> some kind of caching plugins uses or a bug?

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment