top | item 2995147

(no title)

winton | 14 years ago

You can do all of this via controllers. You can execute any Ruby code you want before each template renders.

There is distinction between filters for content and layouts, simply use the layout filename in a before block.

You can execute any Ruby you want. You can use ActiveRecord, Redis, whatever. Load YAML for metadata. None of this stuff needs to be baked in, Ruby already does it.

discuss

order

No comments yet.