djezzzl / database_consistency

The tool to avoid various issues due to inconsistencies and inefficiencies between a database schema and application models.
MIT License
1.02k stars 43 forks source link

Fix undefined method error in ColumnPresenceChecker #188

Closed asavageiv closed 1 year ago

asavageiv commented 1 year ago

ColumnPrensenceChecker was raising when the foreign_key column was missing in the database for a class.

Fixes #187

djezzzl commented 1 year ago

Thank you! Could you please have a look at my comment here?

https://github.com/djezzzl/database_consistency/issues/187#issuecomment-1508431360

I'm willing to merge and release it as soon as we agree.

asavageiv commented 1 year ago

Updated to fix the rubocop errors.

djezzzl commented 1 year ago

I have fixed a minor issue in your PR. I am merging and releasing it now. Thank you a lot for your contribution!

By the way, do you have any other ideas/suggestions to make the gem even more valuable to your or your team?

djezzzl commented 1 year ago

Released in 1.7.7.