View Single Post
Old May 29th, 2006, 8:34 PM   #1
SirBob1701
Newbie
 
Join Date: May 2006
Posts: 20
Rep Power: 0 SirBob1701 is on a distinguished road
My Rails Program With Relational DB

I'm sorry if this is going to seem like a contrite question but I am new to ruby on rails. I am creating a program for work to keep track of vehicles and their maintence and I am using a mysql relational database. I am having a hard time listing anything that besides the main parent table. That is I can list all the trucks we have that are in the truck table but I cannot list their last oilchanges and such. here are the db diagram and the acutal code (codes a bit messy)

http://sirbob1701.googlepages.com/VehicleLog.bmp
http://sirbob1701.googlepages.com/VehicleLog.zip
SirBob1701 is offline   Reply With Quote