fix config files for paperclip
fix config files for paperclip
use jbuilder to minimize fetching from database