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


-- 
============================================
Alex Bowyer

Email:                           [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.

Reply via email to