trying to clean up deprecated code and I''m snagged... this works <%= start_form_tag({:action => ''vo_res_census''}, {:target => "_new"}) %> this doesn''t <%= form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do -%> compile error /home/storage/users/craig/svn/th-db/branches/phase5/config/../app/views/reports/forms_placements.rhtml:18: syntax error _erbout.concat " <td>"; _erbout.concat(( form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do ).to_s) what am I missing? -- Craig White --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
<% form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do -%> -Bill Craig White wrote:> trying to clean up deprecated code and I''m snagged... > > this works > <%= start_form_tag({:action => ''vo_res_census''}, {:target => "_new"}) %> > > this doesn''t > <%= form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do -%> > > compile error > /home/storage/users/craig/svn/th-db/branches/phase5/config/../app/views/reports/forms_placements.rhtml:18: syntax error > _erbout.concat " <td>"; _erbout.concat(( form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do ).to_s) > > what am I missing? > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I see said the blind man... wow...that simply had me buffaloed thanks Craig On Tue, 2007-10-23 at 21:18 -0700, William Pratt wrote:> <% form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do -%> > > -Bill > > Craig White wrote: > > trying to clean up deprecated code and I''m snagged... > > > > this works > > <%= start_form_tag({:action => ''vo_res_census''}, {:target => "_new"}) %> > > > > this doesn''t > > <%= form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do -%> > > > > compile error > > /home/storage/users/craig/svn/th-db/branches/phase5/config/../app/views/reports/forms_placements.rhtml:18: syntax error > > _erbout.concat " <td>"; _erbout.concat(( form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do ).to_s) > > > > what am I missing? > > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
np, we have all been there :) Craig White wrote:> I see said the blind man... > > wow...that simply had me buffaloed > > thanks > > Craig > > On Tue, 2007-10-23 at 21:18 -0700, William Pratt wrote: > >> <% form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do -%> >> >> -Bill >> >> Craig White wrote: >> >>> trying to clean up deprecated code and I''m snagged... >>> >>> this works >>> <%= start_form_tag({:action => ''vo_res_census''}, {:target => "_new"}) %> >>> >>> this doesn''t >>> <%= form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do -%> >>> >>> compile error >>> /home/storage/users/craig/svn/th-db/branches/phase5/config/../app/views/reports/forms_placements.rhtml:18: syntax error >>> _erbout.concat " <td>"; _erbout.concat(( form_tag({:action => ''vo_res_census''}, {:target => "_new"}) do ).to_s) >>> >>> what am I missing? >>> >>> >>> > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---