Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Check for column existence before raising seemingly unrelated errors? #1747
Would you accept a PR that adds AR column checking to
This is a very obtuse error and I doubt I would have figured out I forgot to run
NoMethodError: undefined method `portrait_will_change!' for #<Member:0x007f92dc652f18>
PS: after a cursory Google check there seems to be a bunch of people wondering why AR dynamic methods are causing exceptions, so I think this might help out more than few people
@olivierlacan Hello. Thanks for pointing this out.
I'm not quite sure about the check for column.
I have 3 considerations about this change:
What do you think?