开发者

Rails categories, subcategories, items and comments

开发者 https://www.devze.com 2023-03-05 20:39 出处:网络
I\'m making a simple rails program that would help me categorize my items, for example my music and videos开发者_Go百科:

I'm making a simple rails program that would help me categorize my items, for example my music and videos开发者_Go百科:

So I would have main category music and in there rock/folk/house and another category videos with subcategories action/drama/comedy

Plus I want to add items with this fields:

id, title, location, some comments on the item.

I'm pretty new to rails, so I ask for the simplest solution or tips on what to read. Thanks.


A guide to Rails Active records associations is a good a good place to start: http://guides.rubyonrails.org/association_basics.html

0

精彩评论

暂无评论...
验证码 换一张
取 消