Hi,

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
the ActiveRecord:QueryMethods.

So my question is twofold... first, how is "where" an available method
on my object subclassed from ActiveRecord:Base?  Is QueryMethods a
mixin?

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.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to