Open delner opened 9 years ago
wow that's really weird, seems like a bug in rails' constant lookup code though?
It could be: I had assumed PryStackExplorer may have injected some constant lookup stuff to ActiveSupport, but I might be mistaken in this regard. Disabling the stack explorer gem allows the app to run without problems.
I recently bumped a model of mine into a gem, which defines a class within a namespace as follows
I'm including this gem into my Rails 2 project, along with pry 0.10.1 and pry-stack_explorer 0.4.9.2. When I use my namespaced class in my
car_critera.rb
model as such:On Rails application load, via console, I get the following load error, that seems to stem from pry-stack_explorer:
It doesn't seem to play well with namespaced models sourced from a gem? Do you have any ideas how to handle this?