Question

So when you use scaffolding Rails will kick out some layouts that are xhtml transitional. I prefer strict.

Is there some setting somewhere to do this? Or shall I continue to edit the doctype in the layouts?

Was it helpful?

Solution

You're supposed to replace scaffolding with your own view code. That's why it's called scaffolding—it's just to get you started.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top