Results 1 to 6 of 6
Dec 18, 2005, 07:21 #1
- Join Date
- May 2001
- LaGrange, Georgia
- 3 Post(s)
- 0 Thread(s)
Rails Datatabase Question - Lookup Tables?
I'm very new to RoR and am trying to build a pretty simple application. I think that most of the admin section can be created using the scaffold function (method, or whatever) but I have a question about the database.
When I was planning the database I was intending on building the software with PHP and MySQL. I have a table of listings, and a table of features - and was planning for a lookup table so I could reference listings and features. One to Many.
Do I still add the lookup tables to the database, and what's the correct format so RoR will recognize them, if needed, to build the scaffold?
Again, I'm very new to RoR and Ruby, so any help or links to tutorials would be appreciated. I have a couple tutorials and the Pragmatic book on RoR but haven't found anything about lookups.