Is there a render :alert to make a popup box display from the
controller? Or anything similiar? Just grasping at straws. I know there
has to be a way to do this. I am trying to get a popup box to show if a
validation check fails. Thanks,
~S
Is there a render :alert to make a popup box display from the
controller? Or anything similiar? Just grasping at straws. I know there
has to be a way to do this. I am trying to get a popup box to show if a
validation check fails. Thanks,
~S
I would just do this using RJS:
render :update { |page| page.alert “alert message” }
Sean W.
master nerd of
i heart squares, inc.
3711 N. Ravenswood Ave. #147 Chicago, IL 60613
http://www.iheartsquares.com
:: Raised By an 8" Floppy Disk ™ ::
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs