From: Dr Nic Date: 2006-10-17T16:28:48+09:00 Subject: Re: ActiveRecord & Legacy DBs > The scaffolding for /lead still shows the integer for `howdidyouhear`. > Shouldn't it show the originname String for the howdidyouhear int when > it > displays? First, test that the models work in the console or unit tests. Second, I'm not sure if scaffolding normalises an association to show a string field of the associated object instead of just the id. It wouldn't know which text field to show, I don't think. You may need to generate the scaffolding, and modify the Rhtml files to show the correct value. Nic -- Posted via http://www.ruby-forum.com/.