[Rails] Beginner issue - databases reference
Hi,
I have teo databases. One is called products, the other categories.
Basically, I have products and they are linked to a category.
Scheme :
products :
name:string
category:references (?)
comments:text
categories :
name:string
place_to_recycle_product:string
comments:text
I don't know how to link the two databases and what command I need to
use to generate the scheme... Could you help me?
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home