Jet, It would be better to post on lighthouse. Can you add the ones I missed? Thanks!
Owen On Tue, Jan 12, 2010 at 12:03 PM, blueHandTalking <[email protected]> wrote: > Owen, > > Just checking to see if you got the corrections for > pages 217 and 231 in this thread. You have been commenting > on all other corrections, except those 2. > > Actually may be another. On p. 108 in the > > Rapid Rails with Hobo---p69, 5. Add a new model > > thread. > > > I am almost finished with my proof read. > Should have asked sooner if this is where you want > this posted, or you would rather I was creating tickets > at Lighthouse. > > > Jet. > > On Jan 11, 7:55 am, Owen Dall <[email protected]> wrote: > > In the case of the book we shouldn't have assumed knowledge of this. > I'll > > post a ticket to revise. > > > > Ticket #81 > > > > > > > > On Mon, Jan 11, 2010 at 9:43 AM, Matt Jones <[email protected]> wrote: > > > > > On Jan 11, 2010, at 1:25 AM, blueHandTalking wrote: > > > > > p. 348 > > > > >> I have had difficulty with this a number of times, > > >> and I still do not understand it. This is most likely due to > > >> not having a deep understanding of Rails, but in most all of > > >> the Hobo documentation, the description stands on its own. > > >> This description does not stand on its own for me. > > > > >> Here is the text, bottom p. 348: > > > > >> "It’s also common to compare the acting_user with associations on your > > >> model, for example, say your model has an owner: > > > > >> belongs_to :owner, :class_name => "User" > > > > >> O.K., this is why the above is difficult for me to understand: > > > > >> 1) There is no example of a class 'Owner' > > >> 2) Is 'owner' supposed to be a field of 'User'? > > >> 3) Is 'owner some sort of built-in? > > > > > There isn't an Owner class in this instance - that's what the > :class_name > > > option tells Rails. The declaration above implies that there's a field > > > owner_id on the model declaring the belongs_to, and that owner_id is a > > > foreign key to the 'users' table (OK, technically a foreign key to the > table > > > specified in User.table_name). > > > > > I'd also recommend reading over the Rails docs for belongs_to and > friends - > > > they are actually pretty helpful. > > > > > --Matt Jones > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Hobo Users" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<hobousers%[email protected]> > <hobousers%[email protected]<hobousers%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/hobousers?hl=en. > > > > -- > > Thanks, > > > > Owen > > > > Owen Dall > > Barquin International > > 410-991-0811 > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<hobousers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > > > > -- Thanks, Owen Owen Dall Barquin International 410-991-0811--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
