According to the documentation
inverse_of as of rails 4.1 should work for anything except polymorphic associations.
The documentation at
Is very confusing. I believe inverse_of is still not working on has_many :through associations.
class User < ActiveRecord::Base
has_many :events, through: :attendances
class Event < ActiveRecord::Base
has_many :users, through: :attendance
class Attendance < ActiveRecord::Base
No matter what inverse_of i set this doesn’t work. Also in the documentation the example isn’t complete enough to follow i.e. where is :taggings coming from?