Thanks Owen, that seems to have done the trick.

Michael Q

On Mar 3, 4:37 pm, Owen <[email protected]> wrote:
> I see it now!  My bad.  I had not updated this tutorial after the new
> change to Hobo 1.0 that requires you to enter into ViewHints the child
> relationship you wish to see.  This is much better, less magic.
>
> (Need an Errata link on the books page. )
>
> So I went to app/viewhints and added the line "children: requirements"
> to the "project_hints.rb" file that is created automatically by Hobo:
>
> http://screencast.com/t/ZDlkOTlihttp://gist.github.com/320732
>
> class ProjectHints < Hobo::ViewHints
>
>   # model_name "My Model"
>   # field_names :field1 => "First Field", :field2 => "Second Field"
>   # field_help :field1 => "Enter what you want in this field"
>   #
> children :primary_collection1, :aside_collection1, :aside_collection2
>
>   children :requirements
> end
>
> Do the same for Tasks within Requirements
>
> class RequirementHints < Hobo::ViewHints
>
>   # model_name "My Model"
>   # field_names :field1 => "First Field", :field2 => "Second Field"
>   # field_help :field1 => "Enter what you want in this field"
>   #
> children :primary_collection1, :aside_collection1, :aside_collection2
>  children :tasks
> end
>
> class RequirementHints < Hobo::ViewHints
>
>   # model_name "My Model"
>   # field_names :field1 => "First Field", :field2 => "Second Field"
>   # field_help :field1 => "Enter what you want in this field"
>   #
> children :primary_collection1, :aside_collection1, :aside_collection2
>  children :tasks
> end
>
> On Mar 2, 6:25 pm, Owen <[email protected]> wrote:
>
> > I rebuilt the app from sratch to that point and am not having that
> > issue.  I am uploading a zip of the project to Lighthouse so it might
> > be easier for you to check..
>
> > -Owen
>
> > On Mar 2, 4:54 pm, Owen Dall <[email protected]> wrote:
>
> > > Let me check this out this evening.  It may be that I forgot to include 
> > > the
> > > ViewHint entries required in Hobo 1.0 to make things less magic".
>
> > > On Tue, Mar 2, 2010 at 2:20 PM, Michael Q 
> > > <[email protected]>wrote:
>
> > > > I've twice tried redoing this project from scratch exactly as
> > > > instructed, but get the same result:
>
> > > > In figures 165, 167, 169  I'm not getting the "0 Task Assignments"
> > > > line.
> > > > In figure 175,  the "Requirements" section is missing.
>
> > > > I posted errata to Lighthouse, but now I'm thinking I must be missing
> > > > something here, rather than it being a bug?
>
> > > > Michael Q
>
> > > > --
> > > > 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%2bunsubscr...@googlegroups­.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/hobousers?hl=en.
>
> > > --
> > > Thanks,
> > > - Owen- Hide quoted text -
>
> > > - Show quoted text -

-- 
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.

Reply via email to