>From Hobo::Model:

     def named(*args)
       raise NoNameError, "Model #{name} has no name attribute"
unless name_attribute
       send("find_by_#{name_attribute}", *args)
     end

My application dies in this function because, it's true, my model has
no name.  It doesn't need one!

Adding a useless 'name' field doesn't seem like the right solution,
especially since it appears that Hobo requires the name to be unique.

Is there a good way of solving this?

    - Scott

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