search for: loadtag

Displaying 1 result from an estimated 1 matches for "loadtag".

Did you mean: loadtags
2007 Jan 23
0
Inconsistency of data in controller and irb
I have a find query in a controller like this def loadtags(product) @tags = Tagging.find_all_by_taggable_type_and_taggable_id(0,product.id) puts product.id puts @tags.collect{|x| x.id} @tags.collect!{|x| x.id}.collect!{|x| Tag.find(x)} puts @tags.collect{|x| x.name} puts ''----------------------------'' @tags end and I t...