I was unsure about adding it to the other two instances of class_eval as well, thoughts?
Add better errors reporting for ActiveModel::Configuration
Could you add tests for it?
@rafaelfranca I don't think we test this kind of stuff.
Ok. I'll ask to someone to merge it.