Image I have this model:
Class Post < ActiveRecord::Base
But now I want to do the same as this page : http://www.tamarawobben.nl/dagboek/2005/09/2/
So text a image and the rest of the text.
What’s the best way to do this in ROR.
Must I made for every post a seperate layout which will contain the image of the page if there is a image on that page or is there a better way.