I am currently trying to populate a development database on a project with a bunch of fake data, to simulate how it will look and operate with hundreds of articles / users. I lo
One way I get around this is to put a conditional in my views.
Let's say your model is "user", and it has an avatar. Then you can do the following:
<% if product.avatar.exists? %>
... show the attached photo
<% else %>
.. show a default photo
<% end %>
This works for me with Paperclip, and I use it in my dev database all the time rather than worrying about having all the image attached to all the users.