Displaying 1 result from an estimated 1 matches for "stepinfo".
Did you mean:
setinfo
2005 Mar 03
2
table lookup?
...varchar(45) default NULL,
`InputFormat` varchar(45) NOT NULL default '''',
`OutputFormat` varchar(45) NOT NULL default '''',
`DocURL` varchar(45) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
what I want to do is provide a lookup. stepInfo is "metadata" that rarely
changes. an instance of stepInfo can be used many times in steps. from step,
want to lookup by step_infos_id into step_infos so I can go step.StepInfo.Name,
etc.
class Step < ActiveRecord::Base
has_one :StepInfo
end
class StepInfo < ActiveRecord::Bas...