Hey guys,

I have a *Bookmark* model.

I would like to have a *List *model. So my users can create Bookmark lists.

I created a List scaffold with this command

rails generate scaffold List title:string

 
1) A List can have many bookmarks
2) A Bookmark can have many lists.

Can someone help me to create List Bookmark relationship.? It would be 
awesome if you can give me some resources to learn. 

Thankyou

-- 
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+unsubscr...@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/f63736b5-fe7c-44f4-9127-401bbc8039d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to