Although... wait, I don't think I pass anything off to standard hobo_new methods now that you mention it. I have my ratings pop up in the aside when the page object responds to ratings. It's all custom forms for them. Comments is inline, tags is custom, categories is ajax editor.
On Aug 9, 3:31 pm, kevinpfromnm <[email protected]> wrote: > I doubt it. I've got polymorphic associations all over the place in > this new app. My ratings, tags, comments and categories are all > polymorphic. > > On Aug 7, 1:47 am, Bryan M <[email protected]> wrote: > > > I tried emulating some of what kevinpfromnm is doing with polymorphic > > models, and learned quickly that there's either something I'm missing > > or Hobo just doesn't support this at this time. The first problem I > > ran into was the method 'changed?' issue addressed a couple of weeks > > ago by Matt Jones. I applied his patch: > > >http://github.com/al2o3cr/hobo/commit/f5d391e7426826b13205857b1ee4331... > > > This fixed the hobo_show and hobo_index actions. However new and edit > > give me this error: > > "undefined method `all' for Rating::Ratable:Class" > > > In rails console, typing "Rating.all" does exactly what I would expect > > it to do. Is there some kind of reflection going on that gets tripped > > up by polymorphic models? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
