Try this:

Person.joins(:person_detail).order('person_details.detail_field')


Ordering through has_one association
I've had my Nikon D3100 camera for about 3 years.  I recently accidentally reset my shooting options.

Since I've done that, I'm having a hard time getting the camera to focus and take photos in lower light.  I can hear it (and see it) hunting to focus, but the bottom right flashes the image suggesting I use the flash and it won't let me take a picture.

I've ensured that it's set to AF-C, but I'm still not able to force the photo to be taken.  This happens with multiple lenses, including my prime which is fairly decent in low light.  Often the exposure information on the screen shows me that I am close to perfect exposure (and sometimes just a bit underexposed).

What's going on?  Is there something wrong with the camera?  What other settings can I check?

Some other tidbits, I have it set to Manual, and I'm able to take the photos if I manually focus--but that doesn't work for me since my eyesight isn't great.
