just a small addendum, you can also add a name method if you need
something progmatically generated without having to store it in the
db.  You lose the autosearch/order functions on that model though.

On Mar 30, 9:06 am, Alex Bowyer <[email protected]> wrote:
> Yeah, i understand how it is - documentation is a luxury at times - no
> worries, thanks!
>
> On Mar 30, 11:01 am, Bryan Larsen <[email protected]> wrote:
>
> >http://cookbook.hobocentral.net/manual/model#name
>
> > The comment about title and name being the default isn't in the current
> > version of the documentation.   We haven't pushed updated documentation
> > for a while, because some of the updates only apply to edge, not the
> > released version.   That's something that we plan on fixing, but things
> > are fairly busy at the moment.
>
> > Bryan
>
> > Alex Bowyer wrote:
> > > that's excellent, I knew there'd be something! Thanks
>
> > > (Out of interest, where is this kind of thing documented/where should I
> > > have found that)
>
> > > Alex
>
> > > On Tue, Mar 30, 2010 at 10:10 AM, Matt Jones <[email protected]
> > > <mailto:[email protected]>> wrote:
>
> > >     On Mar 29, 2010, at 11:10 PM, Alex Bowyer wrote:
>
> > >         Actually I think I found one solution to my own question here... 
> > > you
> > >         have to call the field "name".
>
> > >         However this doesn't work in all cases (e.g. when I want to use a
> > >         number field for the display, or a field that has a different
> > >         name) -
> > >         so I'm still interested to get some opinions/suggestions on this.
>
> > >     There are actually a couple of other ones that will get picked up
> > >     automagically (title is the one I remember) - but there's also a way
> > >     to indicate *any* field for this.
>
> > >     If you add :name => true to a field declaration, Hobo will use that
> > >     field wherever it needs a "name" for the model.
>
> > >     Hope this helps!
>
> > >     --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]
> > >     <mailto:[email protected]>.
> > >     To unsubscribe from this group, send email to
> > >     [email protected]
> > >     <mailto:hobousers%[email protected]>.
> > >     For more options, visit this group at
> > >    http://groups.google.com/group/hobousers?hl=en.
>
> > > --
> > > ============================================
> > > Alex Bowyer
>
> > > Email:                           [email protected]
> > > <mailto:[email protected]>
> > > Skype/ooVoo:                alexbowyer
>
> > > Personal blog:                http://alexbowyer.blogspot.com/
> > > Professional blog:          http://www.bitcurrent.com/
>
> > > "The web is not a destination. It is an interface between people."
>
> > > ============================================
>
> > > --
> > > 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