Hello Rubsters
So, I need to be able to display a small 'about our products' blurb on every single one of the product pages. I also need this blurb to be editable through the app interface, and not appear as a static page alone.
I have a static Page model with title, permalink, and content; and PagesController set to find_by_permalink as per (one of many fantastic) Ryan Bates' railscasts.
It seems to me that a product_blurb column in the model would be silly: you'd have to edit all the products individually to make a change; and by adding the blurb as an entry into the pages table would mean mysite.com/blurb would spit out the info as a static page.
How do I go about thinking about this problem?
Thanks as ever