I got this bug too.  It happens when both the 0.8.5 gem and edge hobo
are installed.  ViewHints is loaded from the gem while everything else
is loaded from the edge checkout.... this has to do with the too-
clever way in which hobo loads itself in lib/hobo.rb.  The stuff that
is actually "required" is loaded correctly, but the stuff that depends
on rails' dependency paths is prone to load differently.

--Joe


On Mar 27, 10:25 am, Andy Orahood <[email protected]> wrote:
> Clarification: I don't have a subsite, and I figured I might as well
> send the stack trace sooner rather than later because I'm no good at
> waiting:
>
> rocessing ApplicationController#index (for 127.0.0.1 at 2009-03-27
> 10:24:20) [GET]
>
> NoMethodError (undefined method `paginate?' for AudienceHints:Class):
>     rapid/pages:40:in `run_one'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:124:in
> `each_controller'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:122:in
> `each'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:122:in
> `each_controller'
>     rapid/pages:14:in `run_one'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:71:in
> `run_for_subsite'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:70:in
> `each_pair'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:70:in
> `run_for_subsite'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:64:in
> `run'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:64:in
> `each'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:64:in
> `run'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:36:in
> `run'
>     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:28:in
> `reload_application'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:178:in `send'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:178:in `evaluate_method'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:166:in `call'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:90:in `run'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:90:in `each'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:90:in `send'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:90:in `run'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> callbacks.rb:277:in `run_callbacks'
>     /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
> dispatcher.rb:109:in `dispatch_unlocked'
>     /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
> dispatcher.rb:123:in `dispatch'
>     /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
> dispatcher.rb:122:in `synchronize'
>     /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
> dispatcher.rb:122:in `dispatch'
>     /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
> dispatcher.rb:132:in `dispatch_cgi'
>     /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
> dispatcher.rb:39:in `dispatch'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:76:in `process'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:74:in `synchronize'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:74:in `process'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
> `process_client'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
> `each'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
> `process_client'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `run'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `initialize'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `new'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `run'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `initialize'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `new'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `run'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
> configurator.rb:282:in `run'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
> configurator.rb:281:in `each'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/
> configurator.rb:281:in `run'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in
> `run'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:
> 212:in `run'
>     /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:142:in `load_without_new_constant_marking'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:142:in `load'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:521:in `new_constants_in'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:142:in `load'
>     /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/commands/servers/
> mongrel.rb:64
>     /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>     /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:153:in `require'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:521:in `new_constants_in'
>     /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> dependencies.rb:153:in `require'
>     /Library/Ruby/Gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
>     /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>     /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
>     script/server:3
>
> Rendered /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/templates/rescues/_trace (23.0ms)
> Rendered /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/templates/rescues/_request_and_response (1.0ms)
> Rendering /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/templates/rescues/layout.erb (internal_server_error)
>
> On Mar 27, 10:19 am, Andy Orahood <[email protected]> wrote:
>
>
>
> > Hi! I just encountered the same error yesterday in basically the same
> > situation: I upgraded my application from 0.8.5 (after upgrading from
> > 0.8.3 a couple days ago) and am getting an "undefined method
> > `paginate?' for xxxHints:Class" error. Tom, would another stack trace
> > be useful, or have you figured out the problem already?
>
> > Thanks,
> > Andy
>
> > On Mar 9, 8:02 am, geoffd123 <[email protected]> wrote:
>
> > > Hi Tom
>
> > > Originally I removed the Background class and got the error with the
> > > next class EventText,I put Backgounds back, hence the slight
> > > difference between my original post and this stack trace.
>
> > > Cheers
> > > Geoff
>
> > > => Booting Mongrel (use 'script/server webrick' to force WEBrick)
> > > => Rails 2.2.2 application starting onhttp://0.0.0.0:3004
> > > => Call with -d to detach
> > > => Ctrl-C to shutdown server
> > > ** Starting Mongrel listening at 0.0.0.0:3004
> > > ** Starting Rails with development environment...
> > > ****
> > > **** The file config/initializers/patch_routing.rb is not in use
> > > **** with this version of Rails and can be removed
> > > ****
> > >   SQL (1.4ms)    SELECT name
> > >  FROM sqlite_master
> > >  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
>
> > > ** Rails loaded.
> > > ** Loading any Rails specific GemPlugins
> > > ** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no
> > > restart).
> > > ** Rails signals registered.  HUP => reload (without restart).  It
> > > might not work well.
> > > ** Mongrel 1.1.5 available at 0.0.0.0:3004
> > > ** Use CTRL-C to stop.
>
> > > Processing ApplicationController#index (for 127.0.0.1 at 2009-03-09
> > > 12:59:49) [GET]
>
> > > NoMethodError (undefinedmethod`paginate?' for
> > > BackgroundHints:Class):
> > >     rapid/pages:40:in `run_one'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:125:in
> > > `each_controller'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:123:in
> > > `each'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:123:in
> > > `each_controller'
> > >     rapid/pages:14:in `run_one'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:72:in
> > > `run_for_subsite'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:71:in
> > > `each_pair'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:71:in
> > > `run_for_subsite'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:65:in
> > > `run'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:65:in
> > > `each'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:65:in
> > > `run'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:37:in
> > > `run'
> > >     /vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_generator.rb:28:in
> > > `reload_application'
> > >     /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> > > callbacks.rb:178:in `send'
> > >     /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> > > callbacks.rb:178:in `evaluate_method'
> > >     /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> > > callbacks.rb:166:in `call'
> > >     /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> > > callbacks.rb:90:in `run'
> > >     /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> > > callbacks.rb:90:in `each'
> > >     /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> > > callbacks.rb:90:in `send'
> > >     /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> > > callbacks.rb:90:in `run'
> > >     /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
> > > callbacks.rb:277:in `run_callbacks'
> > >     /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
> > > dispatcher.rb:109:in
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
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