Total Ruby noob, trying to figure something out. Looking at the docs
for ActiveRecord:Base, I see no mention of a “where” method in the
method list. Yet one is available. I think that “where” is part of
So my question is twofold… first, how is “where” an available method
on my object subclassed from ActiveRecord:Base? Is QueryMethods a
Second, looking at the documentation for ActiveRecordBase, how would I
know that “where” is available or how to access it? I realize it’s
talked about in the text of the doc, but in general, how would I know
what methods are available to an object from a mixin?
THanks in advance for any help.