[Rails] Re: How to create Categories in Rails
Giannakis P. wrote in post #1116088:
> Hey Ruby on Rails Community
>
> i'm trying to Add Categories to my Rails app, but don't quite know how
> to do this.
>
> I have many Pins(Images) and want the user to be able to assign a
> category on those Pins. ASSIGN not create, edit, or delete a Category,
> just selecting one for their Pin. Meaning that, When a user uploads a
> pin, he can choose from a dropdown list a Category.
>
> Then, another user can choose from the Menu a Category, and ONLY the
> Pins in this Category will be listed.
>
> How do i do this? Where to start ?
Sounds to me like a tagging system such as
https://github.com/mbleigh/acts-as-taggable-on would work well for your
needs.
--
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/e70b5e69688c2b90232f828a035aa664%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home