RubyMine assumes wrong module for model?

In my rails project, the models are organized in differend modules. There is a Hotel::Package class and an Insurance::Package class, for example. However, navigating in the editor, RubyMine always opens Insurance::Package, even if Hotel::Package is used explicitly. Likewise, the dependency diagram shows that Insurance::Package belongs to an Hotel::Offer, but of course, its Hotel::Package that belongs there and is explicitly stated in Hotel::Offer.

While the last point is not that disappointing (and I must admit that diagrams of "DataMapper"-Models are not as well supported as AR), its quite annoying to be directed to the wrong class inside the editor.

Please sign in to leave a comment.