From: Thierry Jeanneret Date: 2008-03-09T00:44:57+09:00 Subject: Apple's "Discover Rails in Leopard" doesn't work for me. Any help welcome ! Hello There, As a newbie, I have followed strictly the steps described in :http://developer.apple.com/tools/developonrailsleopard.html. Everything went OK until the "Linking Models Together" part. I have created the "expenses" structure, but after that I cannot do anything with it. I am blocked below : Start by creating two new vendors in the database: >> vendor1 = Vendor.create(:name => 'Parties R Us') => # >> vendor2 = Vendor.create(:name => 'Fire Department') => # ===> OK for me Next find an event you created earlier in the web interface: >> event = Event.find_by_name('Chili Cookoff') => # ===> OK for me Then create two expenses that link the event to each vendor: >> event.expenses.create(:vendor => vendor1, :amount => 75.00) => # >> event.expenses.create(:vendor => vendor2, :amount => 25.00) => # ===> No way, I get a message that says that there are no method for expenses... Any idea welcome, thanks in advance, Thierry