added gem to help me debug and fixed validation to allow image field to be blank. Also added specs for falsh messages and a partial to render the messages