Feb 15, 2008
209894767_a30a982917_m_small roupen nahab... 2 posts

Topic: Agile Web Development with Rails / Applying what I'm learning...

I’ve been all over the book – Agile Web Dev—I’m implementing the Depot project and also building a parallel fun project to apply what I’m learning in real time.

I have two models: book and wanted_offer book has_many wanted_offers and wanted_offer belongs_to book.

I have a myfoo controller which handles these models.

What I am trying to do is use the “create_” method describe on p 328 to create a book based on user input.

My call looks like this @wanted_offer.create_book(params[:wanted_offer])

From all indications, everything is going well (no runtime errors, logs look normal) BUT book is not being written to the database :-(

What am I missing?

 
Feb 11, 2008
209894767_a30a982917_m_small roupen nahab... 2 posts

Topic: Agile Web Development with Rails / p67 - where do I find schema_info

I’m enjoying reading this book… curious as to where I can find schema_info mentioned on p67. I’ve done a small Rails project before and I am following the steps outlined in the book, but I can’t find schema_info.

I’m on Windows running InstantRails.

2 posts