Zhenning Guan wrote:
class Content < ActiveRecord::Base
#somecode here that I hidden
there's a Content class nested ContentTextHelers class. I'm a litte
confused about that.
what's nested class work for?
is only Ruby have nested class? like C++, is inherit class.
ContentTextHelpers is the single class for Content class scope .
generally we can all classes are nested class of Object