How to make a foreign key connect with sqlite3 and Ruby on Rails
Posted
by Trip
on Stack Overflow
See other posts from Stack Overflow
or by Trip
Published on 2010-05-26T01:19:38Z
Indexed on
2010/05/26
1:21 UTC
Read the original article
Hit count: 227
ruby-on-rails
|sqlite3
Does anyone know the way, or a place where I can find out how to do this?
Basically, all I want to do is connect a foreign key between two tables.
Is it true, that all I have to do is write the "belongs_to" and "has many" ?
© Stack Overflow or respective owner