I have set a acts-as-taggable-on gem in my denote like this :
acts_as_taggable_on :deshanatagsIt use a context deshanatags. Now we need
to get a list of all a tags (not wholly a ones indifferent for one item.
we need everything) in this context in a following format :[
{"id":"856","name":"House"}, {"id":"1035","name":"Desperate
Housewives"}]How can we do this?I attempted to follow many tutorials
though strike passed ends since many of them are combined for Rails 3.
Rails for have some changes to a denote like dismissal of attr_accessor
that make it challenging for me to know those tutorials. So greatfully
help.Simply im perplexing to supplement Jquery Token quarrel
(http://loopj.com/jquery-tokeninput/) to my appPS : Through Tagging table,
is there a proceed to get a list of tags like a cost of Tag.all by
filtering a context?
No comments:
Post a Comment