Layouts being ignored

Hi all. I’ve got an interesting problem. Yesterday I started a new
application. Today I created a simple layout. But it’s being ignored.

Initially I created a layout called application.rhtml, but it wasn’t
being picked up (meaning the view ultimately rendered was devoid of the
contents of my layout).

Next I explicitly told my application controller to use that layout
(layout ‘application’). No effect.

I created a new layout and told a specific controller to render that
specific layout. No effect.

ANY ideas? I’ve been working with Rails for about a year and have a
pretty good idea of what I’m doing, but this is beyond me. gag

Nevermind. :slight_smile: Sorry to bother everyone. Hehe…

On 9/22/06, Daniel W. [email protected] wrote:

Nevermind. :slight_smile: Sorry to bother everyone. Hehe…

Care to share the problem and solution for the edification of future
googlers?

Thanks,
jeremy

Bet he forgot to get rid of the controller layouts generated when he
scaffolded.

c.

Jeremy K. wrote:

On 9/22/06, Daniel W. [email protected] wrote:

Nevermind. :slight_smile: Sorry to bother everyone. Hehe…

Care to share the problem and solution for the edification of future
googlers?

Thanks,
jeremy

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs