ååã«å¼ãç¶ãã¦acts-as-taggable-onã«ã¤ãã¦ã WEBã¢ããªã±ã¼ã·ã§ã³ã§ã¿ã°ã¯ã©ã¦ãã使ãã«ã¯ä»¥ä¸ã®ããã«ãã¾ãã ãã«ã(app/helpers/application_helper.rb) module ApplicationHelper include TagsHelper end ããã§ã¡ã½ããtag_cloudã使ããããã«ãªãã¾ãã ãã¥ã¼(app/views/users/index.html.erb) <b>ã¿ã°</b><br/> <% @tags = User.tag_counts %> <% tag_cloud(@tags, ['tag-x-small', 'tag-small', 'tag-medium', 'tag-large', 'tag-x-large'] ) do |tag, css_class| %> <%= link_to(tag.name
{{#tags}}- {{label}}
{{/tags}}