Thanks! That works perfectly.
On Mar 24, 10:57 am, Bryan Larsen <[email protected]> wrote:
> Hi Dale,
>
> You want to set a name for your model. There are several ways:
>
> 1) have a field called "name"
> 2) have a method in your model called "name"
> 3) use the ":name => true" option in your field definition.
>
> Bryan
>
> On Mar 24, 1:14 pm, Dale <[email protected]> wrote:
>
>
>
> > I have a product model that has a lots model related to it. In the
> > product show page each Lot is identified by "Lot 1" , "Lot 2",etc.
> > How do I override that to display the lot number field instead?
> > thanks!..Dale
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---