Hi,
can anyone tell me that how to use message box in ruby on rails to
display msg.
Thanks,
poonam
Hi,
can anyone tell me that how to use message box in ruby on rails to
display msg.
Thanks,
poonam
What’s a message box ?
On 8/31/06, poonam [email protected] wrote:
Posted via http://www.ruby-forum.com/.
–
rm -rf / 2>/dev/null - http://null.in
Dont judge those who try and fail, judge those who fail to try…
Pratik Naik wrote:
What’s a message box ?
On 8/31/06, poonam [email protected] wrote:
Posted via http://www.ruby-forum.com/.
message box is pop up box. suppose I want to display msg that “Invalid
username” then how to dispaly it?
do you mean in JavaScript?
You may be interested in the RedBox library.
http://www.agilewebdevelopment.com/plugins/redbox
-NSHB
On 8/31/06, poonam [email protected] wrote:
–
Nathaniel Steven Henry Brown
Open Source Insight - http://nshb.net
Open Source Development - http://inimit.com
Open Source Training - http://osevents.com
Ian L. wrote:
do you mean in JavaScript?
yes right that alert box I want?
Just do:
<% unless flash[:error].blank? %>
<% end %>
And in your controller :
unless login_successful?
flash[:error] = ‘Login unsuccessful.’
end
On 8/31/06, Nathaniel B. [email protected] wrote:
do you mean in JavaScript?
–
Nathaniel Steven Henry BrownOpen Source Insight - http://nshb.net
Open Source Development - http://inimit.com
Open Source Training - http://osevents.com
–
rm -rf / 2>/dev/null - http://null.in
Dont judge those who try and fail, judge those who fail to try…
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