Displaying 1 result from an estimated 1 matches for "format_as_list".
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 the mixin.
Another...