I think select-many should be able to work without the model having a  
name, although both the docs and the code seem to disagree with me,  
but what do they know? Can you post the full trace Scott.

> I had to create both a name method and a find_by_name method.  A bit  
> hackish but it works.

If you want to create a 'simulated' name, I would say implementing  
Model#name and Model.named would be the best way to go.

> 2) Have a path field but declare that to be the name.  I thought  
> this would work.
>
>   fields do
>     path       :string, :name => true
>   end
>
>  => undefined method `name' for #<Clip:0xb60de5c4>

That seems wrong too. Again - can you post the trace?

Tom


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