rom-rb / rom

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

Raise a meaningful error if relation name is one of the reserved names #434

Closed solnic closed 7 years ago

solnic commented 7 years ago

For now we know that relations can't be used as a name of a relation. Would be good to look into code and figure out if there are any other names that could break things.

GustavoCaso commented 7 years ago

@solnic I'm happy to help with this one

solnic commented 7 years ago

@GustavoCaso cool. Let's start with relations then. We can then add more reserved names easily whenever we discover them.