Closed saratrice closed 12 years ago
Hirb doesn't do any monkey-patching of any classes outside of hirb unless you ask it to via require 'hirb/import_object'. To debug your issue I'll need your irbrc and enough of the Rails app that replicates your issue.
Closing but feel free to comment if you want to resolve this.
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.