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/f5d391e7426826b13205857b1ee43310846b7954

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