I'm working on an app which has an image upload facility for users, I
want users to be able to create 'albums' for their pictures.
The way I'm thinking about implementing this is to have a hash in the
user model for each user which they can add categories to and will then
be available as a dropdown for any images they are uploading. This will
allow them to attach the category to the image. I can then filter the
images by category to show the albums. Does this seem like a sensible
way to do this? I don't want to use the acts_as_taggable_on gem as it
seems like overkill for what I'm doing (although maybe not - open to
suggestion..).
So, my question is, does my solution seem like the way to go?
Is there a better solution?
--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7a162151d20ced52f3a283376971a9de%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment