rom-rb / rom

Data mapping and persistence toolkit for Ruby
https://rom-rb.org
MIT License
2.08k stars 161 forks source link

Fix ROM::Schema.define method #464

Closed v-kolesnikov closed 6 years ago

v-kolesnikov commented 6 years ago

I think Schema.definition already worked correctly before, until we lost attr_class agrument for schema initilazer here. It also is reason of #460

solnic commented 6 years ago

Hmm yeah, this LGTM. @flash-gordon ?

flash-gordon commented 6 years ago

cool, thank you!