Comment on "
Layouts Ignored in Rails Controllers
"
by Richard McIntyre — Feb 28
I just had exactly the same problem,
it worked out that I had a parse error in my layout file and rather than show me the error in this file, rails just defaulted to the layout that scaffold set up for me.
If you delete the scaffold layout file as others have suggested it may help you.
Back to "
Layouts Ignored in Rails Controllers
"
Copyright © Scott Stevenson 2004-2015
by Richard McIntyre — Feb 28
it worked out that I had a parse error in my layout file and rather than show me the error in this file, rails just defaulted to the layout that scaffold set up for me.
If you delete the scaffold layout file as others have suggested it may help you.