Hah, found the problem... I'm glad, because I thought this would be a hard one.
I have a module called TokenGenerator, which is included in a model. I renamed that to TokenGen and problem solved... I'm still wondering why it was working fine before... Cheers, Ivan On Mar 26, 2:06 pm, Bryan Larsen <[email protected]> wrote: > "token" never appears in the hobofields source code -- could you post a > backtrace and perhaps your models to a bug report? > > thanks, > Bryan > > > > Ivan wrote: > > Hi, > > > So this is a weird error. I'm using hobofields only, and the first > > times I tried to run hobo_migration it worked fine. > > > Suddenly, I'm getting this error: Couldn't find 'token' generator > > > I tracked it down to the call to generator.generate in > > hobo_migration_generator.rb, but other than that, I'm not sure what's > > wrong. > > > On the console I can run HoboFields::MigrationGenerator.run, but > > weirdly, it reports changes to a model-less join table (and the models > > that use the table don't have fields do...end on them). > > > I'm using Rails 2.3.5 and hobofields 1.0.0. Any ideas? > > > Thanks! -- 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.
