Forum: Ruby on Rails Display order becomes oposite in tag_list(acts_as_taggable..

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ruhul A. (Guest)
on 2009-03-02 12:38
Hi everyone,
           I am using acts_as_taggable_on_steroids plugin in my app for
tagging.
  When I create a helper method by using tag_list method of
acts_as_taggable.rb
 The display order becomes opposite.
But when I use tag_cloud then the display order is right.
Here is my tag_links(post) helper:
post.tag_list.collect{|tag| link_to(tag, tagged_posts_path(:tag =>
tag))}

when i use tag_links in view page the input tags order becomes opposite.
As example: my input tags: one. two . three
But display as: three, two, one.
Please show me a way.
Thx in advance.
Tuhin
This topic is locked and can not be replied to.