Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
No longer generate belongs_to relationships when using references in the new generators #2151
@chrismccord it is slightly tricky to detect but we can try. The problem is that users in the past were used to write:
But now they need to write:
So we need to figure out if the underscored context is a prefix of "blog_posts". It is definitely possible but it looks iffy.