Is there a way to move the layout .rhtml into a database blob?
I would like to get the information from the database and pass that to
the ActiveRecord layout and then have it pull the rest as normal.
class WeblogController < ActionController::Base
@attachment = current_project.layout
:filename => @attachment.name,
:type => @attachment.content_type,
:disposition => 'attachment')
so that the layout can be passed from the database (or maybe not even
as an attachment just as a long text field).