Use inverse_of with your ActiveRecord associations
Learn about the :inverse_of
option for ActiveRecord associations and why it is important. Though Rails will try hard to set this option up automatically on your behalf, it doesn’t always work. This uncertainty may make you uncomfortable - find out what you can do about it. https://rossta.net/blog/use-inverse_of.html
Post a comment