Hi there,
Do you know how does AS handle flash notice/alart?
E.g., I have follow code in a controller.
#Import the content to database
def after_create_save(record)
begin
import_position(record)
rescue Exception => e
flash[:alert] = e.message
end
end
I wish if something wrong happen, the error message should display at the page.
However, this only works if I REFRESH the page.
Do you know how could I let the flash notice show without refresh?
THanks a lot!
BR,
Shanbo
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.