Hi Champs, I am not able to see the layout page code in test.log? I have design like this: TOP LEFT Layout RIGHT I am rendering this left panel and right panel both as well as based on conditions rendering Layout. Now, when i ran my test it gives me nothing at the layout page. Strangely, these LEFT, RIGHT and layout are in same div.. Is there ant solution to it .. ? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Can you post any code? On 22 ene, 09:24, Hemant Bhargava <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi Champs, > > I am not able to see the layout page code in test.log? I have design > like this: > TOP > LEFT Layout RIGHT > I am rendering this left panel and right panel both as well as based on > conditions rendering Layout. Now, when i ran my test it gives me nothing > at the layout page. Strangely, these LEFT, RIGHT and layout are in same > div.. Is there ant solution to it .. ? > -- > Posted viahttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Besides posting code, make sure when you create scaffolds, that you remove the default layout that is created for that particular controller''s views. This is probably the biggest mistake most people make when having issues with layouts. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks for your replies champs.. I have resolved it .. The problem was that in my layouts stating page i have included html comments.. So i removed them and it worked for me .. :) Cheers .. Alpha Blue wrote:> Besides posting code, make sure when you create scaffolds, that you > remove the default layout that is created for that particular > controller''s views. This is probably the biggest mistake most people > make when having issues with layouts.-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.