Hi All. I seem to have got a little a head of myself. I have created a Page Model and Pages controller. The whole idea was to be able to call something like 'print :controller=>'Pages', :action=>'view', :id=>'6', :layout=>'none''
And in my application.html.erb I have a div with yield, and in the next div I would like to have the above page.
But I just can't get my head around doing this. Anyone who understands what I am trying to do ? As simply as I can explain this is that I am trying to store static text in a database, and being able to call it when ever I need to. So I can store whole pages like 'hello' and 'about me' in a text field, kind of a built in cms
Trausti