Turned out to be a naming issue. Removed conditions, created
trade_conditions instead and the problem disappeared.

Cheers

Max

On Nov 26, 5:52 pm, Max Clarke <[email protected]> wrote:
> Hi Owen, I'm using Ruby 1.9.2 and Rails 2.3.9. I haven't actually, I'm
> so used to relying on reference docs and google searches (iphone
> dev ;) that it completely slipped under the radar. I'll check it out,
> thanks.
>
> Max
>
> On Nov 26, 4:28 pm, Owen Dall <[email protected]> wrote:
>
>
>
> > Quick question: Which version of Rails and Hobo are you using, and have you
> > tried the tutorials in "Rapid Rails with Hobo", particulary where ViewHints
> > are discussed?
>
> >http://hobocentral.net/books
>
> > Thanks,
>
> > Iwen
>
> > On Fri, Nov 26, 2010 at 8:33 AM, Max Clarke <[email protected]> wrote:
> > > Hi guys, new Hobo user here. Please forgive the basic question and
> > > indulge me if you could.
>
> > > First up, I have a parent object with 3 children. I've set it all up
> > > by following the start of the Agility tutorial and a few other bits
> > > here and there. So you click on the parent object and you see a list
> > > of cards for the children in the main view for the first and the
> > > sidebar for the other 2. All good.
>
> > > Add the auto_actions_for bit into the parent model so you can create
> > > the children objects from the parent's show page. All good for the 1st
> > > child, but the new links didn't show for the other 2 in the sidebar.
> > > No worries, I delve into application.dryml and sort it out.
>
> > > But now, for only one of the children objects, when I click the new
> > > link in the parent's show page the new page's form is empty. It's got
> > > the correct headings, but there's no form.
>
> > > I've checked the pages.dryml and the code is there. Here's what it
> > > looks like:
>
> > > <section param="content-body">
> > >        <form owner="trade_system" method="post" param>
> > >          <field-list: skip="trade_system"/>
> > >          <submit: label="#{ht
> > > 'conditions.actions.create', :default=>['Create Condition']}"/>
> > >        </form>
> > > </section>
>
> > > I've double checked the model and controller files for each of the 3
> > > children and they all have identical parameters. I also ran the
> > > migration again but it says the model matches the db schema.
>
> > > I'm out of ideas. Can anyone help?
>
> > > Thanks
>
> > > PS For any hobo devs reading - what I've seen of Hobo so far is
> > > brilliant. Bit of a jump from the magic in the controllers and models
> > > to dryml for the views but once it clicks it's fantastic! I've
> > > recreated my old Rails app almost back to full functionality in the
> > > space of a day. It took me 2 weeks to build it in Rails. Well done!
>
> > > --
> > > 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
>
> > Owen Dall, Chief Systems Architect
> > Barquin Internationalwww.barquin.com
> > Cell: 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.

Reply via email to