added rails console class
to_klass method on container