Hi folks!

I am currently a bit desperate, I see images flapping...
I have got a Download model with two Paperclip Attachments, one Photo and 
one Document.

I am currently seeing strange things happening, which I don't get.
In development, the images are uploaded. but can never be displayed until I 
stop the app and restart, then they are here,
but when I upload another image, they cannot be displayed any more (all of 
them, it seems...).

In the console (rails c), the images can always be derived 
Download.find(21).photo.url gives 
"/system/downloads/photos/000/000/021/original/smartphones_player_mcw_xiaomi_2h_ap.4604738.jpg?1425132536"
 

I tried to find out what's going on, so I mistype a tag to fall to the 
browser debugger from better_errors, so that in In a browser debugger
Download.find(21).photo.url gives 
me  "/images/original/missing.png?1425132536"

So back to the console:
Download.find(21).photo.url gives 
"/system/downloads/photos/000/000/021/original/smartphones_player_mcw_xiaomi_2h_ap.4604738.jpg?1425132536"
 
what?

Restarting the app -> Browser debugger:
Download.find(21).photo.url gives 
"/system/downloads/photos/000/000/021/original/smartphones_player_mcw_xiaomi_2h_ap.4604738.jpg?1425132536"
 
what? what?

And everything is fine, until I upload the next image and I', broken again.

In production (Apache + Passenger), they are flapping (some requests do 
show them, some don't).
I don't see any pattern up to now, when they are here.

Has anybody seen something like this? Is this some weird caching?

Greetings,
Stefan

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to