Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
format.html {} and block
Sijo Kg
5/15/2008 5:55:00 AM
Hi
I have code like
format.html {redirect_to :action => 'define_sd_resolution_ui',:id =>
params[:id], :sd_resolution_id=>params[:sd_resolution_id]}
Here if the format is html then i have to do
@sd_ticket_resolution.errors.each_full{|msg| flash[:notice]= msg } this
also.
ie,
format.html {
@sd_ticket_resolution.errors.each_full{|msg| flash[:notice]= msg } this
also.
redirect_to :action => 'define_sd_resolution_ui',:id => params[:id],
:sd_resolution_id=>params[:sd_resolution_id]}
But this is error.How can I solve this?
Sijo
--
Posted via
http://www.ruby-...
.
1 Answer
Sijo Kg
5/15/2008 7:13:00 AM
0
I solved it
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
format.html {} and block
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password