Search code examples
ruby-on-railsxhtml-1.0-strict

How can I tell rails to use xhtml strict instead of transitional?


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?


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.