Mark Thomas wrote:
>> Right- I tried the following, which works for my schema (by which I
>> mean, there is a 'City' column in the refphyslocation table):
>>
>> RefPhysLocation.find_all_by_City("Mineola").each do |location|
>>    puts location.refphys.fullname
>> end
>>
>> and.. the first bit works (I'd forgotten to capitalize 'city' before)..
>> But I now get 'uninitialized constant RefPhysLocation::Refphys' . I
>> guess there's something I didn't set up properly :/ Do you have any idea
>> what?
>>     
>
> You probably have an capitalization where it should be lowercase
> somewhere.
>
>   
>> (I know, I should rtfm and google it.. I don't have time right
>> now, because our mail server at work almost blew up).
>> Thanks for getting me this far at least
>>     
I got a friend to look at it - you're right, that's it. it considered 
some things class names instead of methods because of how I was writing 
it.. Thanks!