KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I read somewhere that rails 3 form helper does not have error messages embedded in it anymore. I am wondering how I am supposed to show flash messages when I set them up inside my controller or as an inline notice in redirect_to? How am I supposed to display them on my view? Is there helper for this? For example if I have def update if @person.save flash[:notice] = "Successfully saved!" end end how do i show the notice on my view?
Tags (comma-separated)
Save Edits
Cancel