I have a model called Well in my app stored in well.rb under app/models.
This has worked fine for quite some time. All of a sudden I noticed
that the whole Well section (model/controller/view) was behaving
strangely. I have tracked it down to the model not being recognized as
an ActiveRecord::Base object. I have reduced the model to its minimum,
here it is:
class Well < ActiveRecord::Base
When I load the Rails console and run
I get “Object” in response. While every other model correctly returns
ActiveRecord::Base type in response to superclass method call, e.g.,
Is there something obvious that I may be missing?
Thanks for your time in advance.