ruby dsl for ERD