Open dhnaranjo opened 2 years ago
Cool thing about being pre-launch is I just went and changed the table name, so I'm not urgently awaiting a fix or nothing.
Thanks for reporting this. It's been on my radar as it's a general issue of having reserved names that cannot be used as relation names. This will be properly addressed in 6.0.
Describe the bug
When a relation with the name
options
exists the following error is raised when you create an instance of it:This happens because
ROM::Initializer::InstanceMethods#options
is called at eitherROM::Relation#struct_namespace
orROM::Relation#meta_ast
.To Reproduce
Expected behavior
A relation named
options
doesn't poop my appMy environment