A working example of many to many relationship in Rails 4