Free as in Time

About Me | About this Blog

Creating a Default Rails Layout

February 20th

I’d either never picked up on this or totally forgotten it, but I ran across it while reading Ajax on Rails:

If you create a layout file under app/views/layouts/ called application.rhtml, Rails will pick that up as a default layout for your entire application, assuming you haven’t created other layouts already.

By default Rails looks first for a layout template with the same name as the current controller with the extension .rhtml. If it can’t find this layout, it goes looking for application.rhtml layout.

Somehow, I’d gotten in the habit of creating [...]

Tags:   · · No Comments

Talking about WordPress

February 12th

Tags:   No Comments

Canadian Rails Hosting

February 6th

Tags:   1 Comment

25 Ruby and Rails Cheat Sheets

February 6th

Tags:   · No Comments

Rails 2.0.2

January 9th

Tags:   No Comments

WordPress: Modifying the Excerpt

November 12th

Tags:   1 Comment

WordPress: Removing Extra HTML from a Category Description

November 9th

Tags:   2 Comments