fixed production database.yml and removed methods from public blog attachments controller