cldwalker/hirb — Issue #47: HABTM relationships break with Hirb
Author: chicagogrrl
Created: 2011-10-13 02:19:41+00:00
State: open

I have a couple of has_and_belongs_to_many relationships in my project, and with Hirb, they appear as method not found.

E.g.,

Class Dog
has_and_belongs_to_many :kennels

Class Kennel
has_and_belongs_to_many :dogs

Dog.first.kennels
method not found: kennels

As soon as I disable Hirb, they work again.