Got rid of flash message notices from rails. used foundation code.