Hi
Thanks for the reply.Why I used the redirect because I first used render
But In the view I have some check boxes One of them like
<%= select( "problem", "problem_urgency_id",
ProblemUrgency.find(:all).collect {|p| [ p.name, p.id ] },options
={:prompt => "<< Select any >>"}) %>
So in the above if I use render(if error happens) what happens is
that
<< Select any >> is not shown and only the values from the
problem_urgencies table are shown That is why I used the redirect_to
But it has this problem(Not problem actually)..Could you please suggest
how I can solve this?
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---