Paperclip - how to display images that were not uploaded?

Ok, I found solution. I just must not to write file names directly into database. When I place a file in the proper place it is displayed in the view.