Javi Jimenez wrote: >> You are recursively calling the method color() until your stack goes >> through the roof. I believe your error has nothing at all to do with >> the treemap plugin. If you want, you can post the code for further >> analysis >> >> hth >> >> ilan > > thanks ilan! > > My view index.rhtml has only this line: > > <%= html_treemap(@root) %> > > The controller 'breed_controller': > > class BreedController < ApplicationController > def index > # Retreive the root node of the treemap > @root = Breed.find(1) > end > end > > and the model: > > class Breed < ActiveRecord::Base > acts_as_tree :order => "total" > acts_as_treemap :label => "name", :size => "total", :color => "color" > end > > > As you can see is very simple code to use this plugin, that is why I > can't see the error, maybe in the database? > > id parent_id total name color > 1 null 79 'pit bull' '15.30' > 2 1 67 'york-shire' '8.11' > 3 2 65 'bull dog' '7.15' > 4 3 60 'samoyedo' '6.00' > > very simple too .... > > What is happening? :( > > Thank you! I already fixed this problem, it was because of the column name 'color', i felt so stupid when I found out. Anyway, I still have not been able to show the map,It says :"no font_size method". I have been looking for it in the plugin code and it is there in node.rb, so now I am more lost than before. has anyone any experience with treemaps??? -- Posted via http://www.ruby-forum.com/.