BartlomiejSkwira
6/23/2013 - 4:17 PM

flash

flash

#keep flash
flash.keep 
flash.keep(:notice) #keep flash[:notice]

#flash in this request
flash.now

if @client.save
      ...
else
  flash.now[:error] = "Could not save client"
  render :action => "new"