Allow deep inheritance of ActiveRecord::Base.
Merge pull request #82 from Junyulive/master

Allow deep inheritance of ActiveRecord::Base.