On Jul 12, 2011, at 11:53 AM, Bob Sleys wrote: > Running hobo 1.3 it appears that running hobo g migration doesn't work when > there is a polymorphic association between models. > > First here is the errror. > > Hobo Command Line Interface 1.3.0 > /home/bsleys/.rvm/gems/ruby-1.8.7-p352@HazMatTracking/bundler/gems/hobo-900179e80104/hobo/lib/generators/hobo/routes/router.rb:56:in > `owner_routes': Hob routing error -- can't find reverse association for > Sample#sample_test (e.g. the :has_many that corresponds to a :belongs_to) > (Hobo::Error) >
Actually, it looks like it's blowing up even before it gets there - this error is from the route generator that runs on startup. Judging from the data, it looks like you've got an auto_actions_for on the polymorphic association, which I don't believe will work out of the box... --Matt Jones -- 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.
