18 July 2010 at 10:58pm
this is a newb question but just cant get it right.
I have a simple class called resource...
And i want to use the same class for 2 items in a page.
ie: I want to use the same class for a slideshow and a scroller component in end page
I have tried has_many etc but think I am missing the point.
I always have images shared...
Since I am a hack I end up duplicating the class.
surely I can use the same class????
how to I set this up as obviously will be same table and same page but different...?