Infinite recursion in Rails associations
I’m working on a Rails 5.0 project that is using an existing database. This kind of project is more difficult than creating a database from scratch using Rails migrations. One problem is that the existing database doesn’t use Rails conventions for the names of its columns. That led me to a bone-headed mistake in my model associations that caused Rails to get into an infinite recursion.