Add support for table and attributes definition in active model rails