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
Annotate no longer works with Rails 5.2 models #538
On Rails 5.1, annotate worked as expected. After updating to 5.2, I noticed that annotate was not working as part of my post-update functionality testing.
I have no
I'm unsure if this affects anything except models, since that's the only functionality I'm using.
Sorry for the delay! I've been busy with holidays and all.
It seems to still annotate the model (and all other models work fine), but the error is still raised.
Let me know if you need any more information!
@ctran I have same problem on Rails 5.2.0.beta2 and the dev version of annotate gem.
I have three models (
@ctran I noticed an interesting phenomenon.
Annotation goes well on the tables that have foreign key constraints.
In order to confirm my theory, I added a column with foreign key constraint to the