Saturday, January 23, 2010

[Rails] Re: Layout not coming in tests

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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate