https://rt.cpan.org/Ticket/Display.html?id=57989
# 2) Name of has_many() relationship this many_to_many() is shortcut for
# 3) Name of belongs_to() relationship in model class of has_many() above
# You must already have the has_many() defined to use a many_to_many().
- __PACKAGE__->many_to_many(roles => 'user_roles', 'role');
+ __PACKAGE__->many_to_many(roles => 'user_roles', 'role_id');
The code for this update is obviously very similar to the edits we made
to the C<Book> and C<Author> classes created in Chapter 3 with one