i do not think we need to require lib/ files in production.  also, i am not sure the environment is loaded before the rake task starts, so perhaps it the require statement was failing ?
ok, nvm.  we do need the require statement.  i am experimenting adding it AFTER the env is loaded
some dogs do not have any photos - no placeholders either
adding image placeholder
sloppy
trying to fix the view just in case... not sure why this does not effect development env
not sure why primary_photo.image method is returning nil... only in prod environment
the only way to check and see which dogs have been adopted (no longer available) is to pull ALL dog data on each import.  boooooooo.  it's much quicker if we can use the updatedAfter paramter that RG provides
image updating was causing dragonfly to create a new image on Amazon S3 everytime we updated dog data, even if the picture was the same.  we are now storing the RG image url and only updating the picture if the RG image url changes.