# Rails layout generator not doing what the documentation sais it should be doing?

**URL:** <https://www.ruby-forum.com/t/rails-layout-generator-not-doing-what-the-documentation-sais-it-should-be-doing/190778>\
**Category:** Rails\
**Created:** [June 27, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/rails-layout-generator-not-doing-what-the-documentation-sais-it-should-be-doing/190778 "2010-06-27T18:45:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor123789](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f0a364/32.png) [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Post date:** [June 27, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/rails-layout-generator-not-doing-what-the-documentation-sais-it-should-be-doing/190778/1 "2010-06-27T18:45:20Z")

</div>

Hello,

I’ve just started playing around with the Rails 3.0.0.beta and I came  
across some seemingly strange behaviour, where I expected:

“In previous versions of Rails, the rails generate scaffold command  
would automatically create a controller specific layout, like app/  
views/layouts/posts.html.erb, for the posts controller. However this  
has been changed in Rails 3.0. A application specific layout is used  
for all the controllers and can be found in app/views/layouts/  
application.html.erb. Open this layout in your editor and modify the  
body tag:” – [rails.info](http://guides.rails.info/getting_started.html)

…but actually got the old behaviour, where a layout was generated  
for the specific controller… is this just some weirdness with my  
installation or has anyone else come across this?
