I've just started up a new hobo app, using the hobo command and after getting the user stuff working properly (have to use an existing schema), I've run up against a bit of a problem... I ran script/generate hobo_model extensions, and now I can't generate anything else, or start the webrick. first off, hobo_model in the extensions.rb model file gives this: Code: c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1235:in `method_missing': undefined local variable or method `hobo_model' for Extensions:Class (NameError) from ./script/../config/../app/models/extensions.rb:3 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' from ./script/../config/../vendor/plugins/hobo/init.rb:1:in `load_plugin' from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/initializer.rb:401:in `load_plugin' ... 13 levels... from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from ./script/generate:3 from -e:3:in `load' from -e:3 gah! as you can see, it can't find the hobo_model method for use in the Extensions class. this is WEIRD. mostly because user.rb ALSO uses hobo_model but doesn't generate this error. so, since the hobo manual says hobo_model is just a shortcut for include Hobo::Model, I try that. Then I get this: Code: ./script/../config/../vendor/plugins/hobo/lib/hobo/model.rb:70: undefined method `inheriting_attr_accessor' for Hobo::Model::ClassMethods:Module (NoMethodError) from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:203:in `load_file' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:202:in `load_file' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:94:in `require_or_load' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:248:in `load_missing_constant' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in `const_missing' from ./script/../config/../app/models/extensions.rb:3 ... 20 levels... from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from ./script/generate:3 from -e:3:in `load' from -e:3 the problem seems to be that when I generated that model, a new file was created under vendor/plugins/hobo/lib called extensions.rb. this file contains a method inheriting_attr_accessor. Hobo::Model uses this method. HOWEVER init.rb has no mention of this file, and thus dies horribly. now, I find the existence of this file quite odd. surely creating a new model file with all this generic stuff is not very DRY....and to properly conform, you'd have all that stuff in Hobo::Model, and override it in app/models/modelname.rb? I think the base issue is twofold: a) hobo_model is NOT just a shortcut for include Hobo::Model, it does something else that somehow SHOULD include vendor/plugins/hobo/lib/modelname.rb b) hobo_model is undefined in user-created models for some odd reason.....it's truly baffling that the user model doesn't barf on it, but everything else does. env info: Code: ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] C:\Documents and Settings\bob\My Documents>gem list *** LOCAL GEMS *** actionmailer (1.3.3) Service layer for easy email delivery and testing. actionpack (1.13.3) Web-flow and rendering framework putting the VC in MVC. actionwebservice (1.2.3) Web service support for Action Pack. activerecord (1.15.3) Implements the ActiveRecord pattern for ORM. activesupport (1.4.2) Support and utility classes used by the Rails framework. ajax_scaffold_generator (3.1.11) Ajax scaffold generator is a rails generator for ajaxified scaffolds fxri (0.3.6) Graphical interface to the RI documentation, with search engine. fxruby (1.6.6) FXRuby is the Ruby binding to the FOX GUI toolkit. hobo (0.5.3) The web app builder for Rails hpricot (0.4) a swift, liberal HTML parser with a fantastic library log4r (1.0.5) Log4r is a comprehensive and flexible logging library for Ruby. rails (1.2.3) Web-application framework with template engine, control-flow layer, and ORM. rake (0.7.2) Ruby based make-like utility. sources (0.0.1) This package provides download sources for remote gem installation win32-clipboard (0.4.1) A package for interacting with the Windows clipboard win32-dir (0.3.1) Extra constants and methods for the Dir class on Windows. win32-eventlog (0.4.3) Interface for the MS Windows Event Log. win32-file (0.5.3) Extra or redefined methods for the File class on Windows. win32-file-stat (1.2.3) A File::Stat class tailored to MS Windows win32-process (0.5.1) Adds fork, wait, wait2, waitpid, waitpid2 and a special kill method win32-sapi (0.1.3) An interface to the MS SAPI (Sound API) library. win32-sound (0.4.0) A package for playing with sound on Windows. windows-pr (0.6.2) Windows functions and constants predefined via Win32API C:\Documents and Settings\bob\My Documents>