I have now generated a new model resource using script/generate hobo_model_resource and done a migration. I get the same error on the new class. Anyone have any ideas what I might be missing, or is not compatible between 0.8.5 and edge?
Cheers Geoff On Mar 7, 12:34 pm, geoffd123 <[email protected]> wrote: > I have a model that is defined at app/models called EventText. > > The controller for it in a subsite at app/controllers/admin. > > Under 0.8.5 everything was working ok. I migrated the app to hobo > edge. Now when I start up I get this exception: > > NoMethodError > > undefined method `paginate?' for EventTextHints:Class > > RAILS_ROOT: /home/geoffd/projects/click66_8 > Application Trace | Framework Trace | Full Trace > > rapid/pages:40:in `run_one' > rapid/pages:14:in `run_one' > -e:2:in `load' > -e:2 > > I tried defining the class in app/viewhints and app/viewhints/admin > but I get the same error. > > I put some debug printouts in dryml_generator.rb around the run_one > and get the following in the log: > > ------------> Starting run_one for: rapid/pages > ------------> Ending run_one for: rapid/pages > ------------> Starting run_one for: rapid/forms > ------------> Ending run_one for: rapid/forms > ------------> Starting run_one for: rapid/cards > ------------> Ending run_one for: rapid/cards > ------------> Starting run_one for: rapid/pages > ---------> Handling controller Admin::EventTextsController > > After that my Ruby is not good enough to follow what is happening. > > Does anyone know where I can go from here? Should I report it as a > bug? > > Cheers > Geoff --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
