Ruby For Rails class_eval question

It works now. Why does it have to be constant?

Hi --