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

Reply via email to