dymanic changes for model name

name1 = "A"
name2 = "B"

eval "#{name1}.hello"
eval "#{name2}.hello"
--

Better: name1.constantize

Fred