I renamed the table "items" to "saleitems" and now the edit of sales
works fine! Thanks to everyone for the help.
Not sure if it qualifies as a hobo bug, but if you have a table named
"items" you are heading for trouble. Do namespaces or the equivalent
exist in rails/hobo?

- Mike

On Jun 30, 9:45 pm, oldlibmike <[email protected]> wrote:
> Aha! I thought that my table (Items) might be a problem. Not only that
> but I also have a table named collections. I'm probably asking for
> trouble :)
>
> Thanks for the tip. I think I may take a stab at renaming my tables
> first.
>
> Mike
>
> On Jun 30, 4:39 pm, Matt Jones <[email protected]> wrote:
>
> > There's a name collision in the generate method  
> > items_with_accessible=; the local that it uses (items) is shadowing  
> > the association. Try changing the code in accessible_associations.rb  
> > to use something else, like _items. You'll need to change all three  
> > lines to match.
>
> > --Matt Jones
>
> > On Jun 30, 2009, at 3:47 PM, oldlibmike wrote:
>
> > > Thanks for looking! I'll do some experimenting and maybe make a test
> > > case.
> > > Best regards,
> > > Mike
>
> > > On Jun 30, 3:40 pm, Bryan Larsen <[email protected]> wrote:
> > >> I'm sorry, I don't see anything wrong in your code.  At this point  
> > >> I'd
> > >> need something I can run myself -- whether it's a simplified version
> > >> of your app or a modification of agility.
>
> > >> sorry,
> > >> Bryan
--~--~---------~--~----~------------~-------~--~----~
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