karthikv / model_schema

Enforced, Annotated Schema for Ruby Sequel Models
MIT License
41 stars 0 forks source link

Support for ActiveRecord #1

Open karthikv opened 8 years ago

karthikv commented 8 years ago

ModelSchema currently only supports Sequel, even though there are many alternative Ruby ORMs, perhaps most notably ActiveRecord. I'll consider working on an ActiveRecord plugin if there's interest; please comment here if that sounds useful to you.

MadBomber commented 8 years ago

+1 for ActiveRecord - I did something like this a few years ago by dumping the schema definition via rake then doing some text transformations... but It wasn't public; should have been - wasn't my call.