Can't dynamically create an Acitve::Record object

Try it with a ‘normal’ AR object - doesn’t work either. Attribute getters/setters are handled by method_missing, which defines instance methods at runtime for speed.

Otherwise, Object.const_set :Person, Class.new(ActiveRecord::Base) is plenty.

jeremy