Ok so basically I have a problem. Im relatively new to rails and i seem
to have come to a dead end. I wanted a model that could either be a URL,
a video, a picture or a sound recording. Obviously this is impossible. I
am gonna use attachment_fu if that helps. So whats the most DRY way of
doing this. Each media thing, whether it be a video, a picture, a URL or
a sound file must be classified under the same thing as, lets say a
media object. Consequently they share attributes, like an id, a upload
date, a description etc. However they differ in their actual media
format.

Does anyone know how I should make my models and controllers.
Thanks!
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to