Displaying 2 results from an estimated 2 matches for "category_list".
2006 Apr 04
5
How to implement tag clouds using plugin?
The code on
http://blog.craz8.com/articles/2005/10/28/acts_as_taggable-is-a-cool-piece-of-code
is based on the acts_as_taggable gem,anybody has done that using the
acts_as_taggable plugin?thanks!
btw:the code above uses the tag_count method,which is defined in the
gem:
def tags_count(options = {})
options = {:order => ''count DESC''}.merge(options)
2005 Dec 26
0
Why isn''t this working???
This is a very straightforward problem..
-I included a mixin in lib/ (see below)
-In environment.rb, I included the require statement (require
''acts_as_tree_additions'')
-Defined a method in the model:
def category_list
format_as_list #method in acts_as_tree_additions
end
-Called that method in the view..
I know the method is in the correct use, because it prints out a string
if I replace ''format_as_list'' with a string in category_list. However,
it''s not working as expected for th...