Hi All, I got an error when I tried to use nested rhtml nested expression like this <% url_for(:action => ''blah'', :id => <% @column.id %>) %> Is there anyway to help me achieve this? Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
Why are you nesting them? And you need <%= if you that to render to output. <%= url_for(:action => ''blah'', :id => @column.id) %> On 10/31/06, Doug <dmly.usa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi All, > I got an error when I tried to use nested rhtml nested expression like > this > > <% url_for(:action => ''blah'', :id => <% @column.id %>) %> > > Is there anyway to help me achieve this? > Thank you > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
Oh my bad man, I think my head went numb at 2:30 in the morning! Thanks pal. On Nov 1, 1:11 am, "Andrew Kaspick" <akasp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Why are you nesting them? And you need <%= if you that to render to output. > > <%= url_for(:action => ''blah'', :id => @column.id) %> > > On 10/31/06, Doug <dmly....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi All, > > I got an error when I tried to use nested rhtml nested expression like > > this > > > <% url_for(:action => ''blah'', :id => <% @column.id %>) %> > > > Is there anyway to help me achieve this? > > Thank you--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---