On Apr 29, 2010, at 9:45 AM, [email protected] wrote:

Following:

http://cookbook.hobocentral.net/recipes/3-create-an-admin-subsite
http://cookbook.hobocentral.net/tutorials/subsite

To set up a sub site for my rails app but running into this error when
I try and run my server:

./script/server
=> Booting Mongrel
=> Rails 2.3.4 application starting on http://0.0.0.0:3000
/Users/Mister/dev/copy/app/controllers/abouts_controller.rb:2:
undefined local variable or method `hobo_model' for
AboutsController:Class (NameError)

This is your first problem - why is there a 'hobo_model' call in abouts_controller.rb? Should probably be hobo_model_controller...

As for the Rails version, Hobo doesn't specify any hard requirements (1.0 still works on Rails 2.2.2), so I'm guessing there's a line setting RAILS_GEM_VERSION in your config/environment.rb.

Hope this helps!

--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.

Reply via email to