Thanks Matt,

I tried using the following line:

fields do
   fullname    :string, :name => true, :primary_content => true
   address     :string
   timestamps
end


This gave me a visible "Arthur E. Baldwin" just below the Title line 
(underlined) but without any field name label and too far to the left.  Not 
exactly what I had in mind.

Arthur



________________________________
From: Matt Jones <[email protected]>
To: [email protected]
Sent: Tuesday, August 16, 2011 5:19 PM
Subject: Re: [Hobo Users] Possible Bug in Hobo 1.3

This sounds like something wonky going on in the translation process - I'll 
take a look at it.

--Matt Jones

On Aug 16, 2011, at 8:11 PM, Arthur Baldwin wrote:

> I would very much like to hear from an expert in regard to this problem.  At 
> least let me know if this is considered a bug or not.
> At least that way, I can focus my attention on something else until it is 
> resolved.
> 
> Arthur
> 
> From: Arthur Baldwin <[email protected]>
> To: "[email protected]" <[email protected]>
> Sent: Tuesday, August 16, 2011 2:25 PM
> Subject: Re: [Hobo Users] Possible Bug in Hobo 1.3
> 
> If anyone knows of another addition that I can add to the following code in 
> order to make the "show page" display "Arthur E. Baldwin" instead of 
> "Customer"....I would appreciate it very much if you could let me know what 
> that syntax looks like.
> 
> fields do
>    fullname    :string, :name => true
>    address     :string
>    timestamps
> end
> 
> My wild guess is something like:
> 
> fullname   :string, :name => true, :title => true
> 
> but I could be way off....please help.
> 
> If there is no additional statement like this, then Hobo 1.3 does indeed have 
> a bug.
> 
> Arthur
> From: Arthur Baldwin <[email protected]>
> To: "[email protected]" <[email protected]>
> Sent: Tuesday, August 16, 2011 10:02 AM
> Subject: Re: [Hobo Users] Possible Bug in Hobo 1.3
> 
> Also, the displayed URL is:
> 
> http://localhost:3000/customers/1-arthur-e-baldwin
> 
> So it is aware of the correct data in a way.
> 
> Arthur
> 
> From: Arthur Baldwin <[email protected]>
> To: "[email protected]" <[email protected]>
> Sent: Tuesday, August 16, 2011 9:53 AM
> Subject: Re: [Hobo Users] Possible Bug in Hobo 1.3
> 
> I thought that might be the intention, but that line is displayed as 
> "Customer", not "Arthur E. Baldwin", so it's still not quite right.
> 
> Arthur
> 
> From: Bryan Larsen <[email protected]>
> To: [email protected]
> Sent: Tuesday, August 16, 2011 9:45 AM
> Subject: Re: [Hobo Users] Possible Bug in Hobo 1.3
> 
> That's not a bug, it's a feature.  :)
> 
> fullname is displayed in the title, so there's no need to duplicate it
> in the fields.
> 
> Bryan
> 
> 
> On Tue, Aug 16, 2011 at 12:32 PM, Arthur Baldwin <[email protected]> wrote:
> > I tried re-installing Ubuntu 11.04 on one of my machines at home and updated
> > to the latest git repository version of Hobo 1.3 as Matt described.
> > Then I recreated the basic app, and created a resource called "customer"
> > with fullname:string and address:string.
> > Performed the usual hobo g migration and ran rails server.
> > The Customers tab appears and does not crash when clicked on, since making
> > the change Matt described to my Gemfile.  Since making the change in
> > app>models>customer.rb to read:
> >   hobo_model # Don't put anything above this
> >
> >   fields do
> >     fullname    :string, :name => true
> >     address     :string
> >     timestamps
> >   end
> > The first screen after clicking the Customers tab does show a single line
> > for each record with the contents of the fullname field displayed as a
> > hyperlink.
> > So far so good.  Then when I click on the customer's name, the next screen
> > should show both fields, but it does not.  Only the address field is
> > displayed.
> > When I first saw this behaviour, I assumed that it was from some playing
> > around that I did and that it was my own fault.  But after doing a fresh
> > install at home and doing each update step carefully as well as each hobo
> > command (with no intermediate mistakes), the problem still persists.  On the
> > "edit screen" and the "new record screen" both fields do appear as they
> > should.  So this problem is limited to only one screen.  I'm not sure how to
> > name the problematic screen, but it comes up after clicking on any
> > customer's name.  Perhaps I should call it the "show customer screen".
> > Anyway, this is clearly not a desirable thing for Hobo.  Just thought you'd
> > like to know about it before the release.
> > Arthur
> >
> > --
> > 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.
> >
> 
> -- 
> 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.
> 
> 
> 
> -- 
> 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.
> 
> 
> -- 
> 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.
> 
> 
> -- 
> 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.
> 
> 
> 
> -- 
> 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.

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

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