SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Zealot daveporter's Avatar
    Join Date
    Mar 2002
    Location
    Perth, Western Australia
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SR2 - page 121 - generate model ?

    Hi All,

    On page 121 (Simply Rails 2) the real action of the app starts with the generating of the first model for 'Story'. It also generates two fields ( name and link ). But didn't we already create the Stories table along with those fields earlier on page 102 ?

    I could be wrong, and I've scanned back through the pages in between but cannot see anywhere that drops the table ready for a clean start on page 121 !

    I'll stand corrected of course

    Also if I can make one small criticism of many rails books ( and probably a general observation of many computer books ) is that the reference parts and the tutorial parts are not well separated and therefore if you just want to follow the project, you have to hunt through the text looking for the next line of action and of course missing a step can be frustrating...

    cheers, Dave

  2. #2
    SitePoint Zealot daveporter's Avatar
    Join Date
    Mar 2002
    Location
    Perth, Western Australia
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry I spoke too soon as they say...

    All is revealed on page 129 where the :force => true option is used !

    cheers, Dave


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •