I currently have this in my controller:
if c.save
session[:success] = "Career updated successfully."
redirect_to "/career"
And this in my view:
- if session[:success]
.alert.alert-success.fade.in
%button.close{"data-dismiss" => "alert", :type => "button"} ×
%strong Well Done!
= session[:success]
Yet nothing shows up regardless..
Wooo Wooo Wooo never user
sessionfor this kind of job, useflashinstead (documentation):A quote from the doc: