No I did not add the subsite. as I said I used the generator (invite
only, no confirmation, en, mysql, at least 1 controller public,
default names of resources and seperate front for the admin site.)

On Apr 18, 3:41 pm, Bryan Larsen <[email protected]> wrote:
> OK, I think I know what you did.   I bet you generated an app without
> an admin subsite, and then used a generator to add it later.   Sure
> enough, that's broken.
>
> You can try and fix your current problem by running
>
> rails g hobo:install_plugin hobo_clean_admin -v 1.4.0.pre4
> --subsite=admin --css-top
>
> Or, approach it more systematically:
>
> 1) generate a new hobo app without an admin site
> 2) generate a new hobo app with an admin site
> 3) apply the diff of 1&2 to your app.
>
> Or, wait until I fix the problem which I will hopefully get to within
> the next day or two.
>
> Bryan
>
>
>
>
>
>
>
> On Wed, Apr 18, 2012 at 9:27 AM, Scorpio <[email protected]> wrote:
> > That's curious.  Btw. How does the switch to jq affect all the recipes
> > for 1.3 that use js ? I'm assuming none of those should work, right?
> > I just went through the file history in Netbeans of the
> > admin_site.dryml and It never included that line.
>
> > When I do indclude that line I get the following error :
>
> > NameError in Admin/users#index
>
> > Showing /home/scorpio/Desktop/Sites/dev/app/views/admin/users/
> > index.dryml where line #1 raised:
>
> > uninitialized constant HoboCleanAdmin
>
> > Extracted source (around line #1):
>
> > 1: <index-page without-new-form>
> > 2:   <after-count:>
> > 3:     <a with="&User" action="invite">
> > 4:       <t key="hobo.admin.invite_new_user">Invite a new user</t>
>
> > Rails.root: /home/scorpio/Desktop/Sites/dev
> > Application Trace | Framework Trace | Full Trace
>
> > activesupport (3.1.4) lib/active_support/inflector/methods.rb:124:in
> > `block in constantize'
> > activesupport (3.1.4) lib/active_support/inflector/methods.rb:123:in
> > `each'
> > activesupport (3.1.4) lib/active_support/inflector/methods.rb:123:in
> > `constantize'
> > activesupport (3.1.4) lib/active_support/core_ext/string/
> > inflections.rb:43:in `constantize'
> > dryml (1.4.0.pre4) lib/dryml/taglib.rb:44:in `taglib_filenames'
> > dryml (1.4.0.pre4) lib/dryml/taglib.rb:10:in `get'
> > dryml (1.4.0.pre4) lib/dryml/dryml_builder.rb:156:in `import_taglib'
> > dryml (1.4.0.pre4) lib/dryml/dryml_builder.rb:132:in `block in build'
> > dryml (1.4.0.pre4) lib/dryml/dryml_builder.rb:116:in `each'
> > dryml (1.4.0.pre4) lib/dryml/dryml_builder.rb:116:in `build'
> > dryml (1.4.0.pre4) lib/dryml/template.rb:73:in `compile'
> > dryml (1.4.0.pre4) lib/dryml/taglib.rb:99:in `load'
> > dryml (1.4.0.pre4) lib/dryml/taglib.rb:61:in `initialize'
> > dryml (1.4.0.pre4) lib/dryml/taglib.rb:15:in `new'
> > dryml (1.4.0.pre4) lib/dryml/taglib.rb:15:in `block in get'
> > dryml (1.4.0.pre4) lib/dryml/taglib.rb:10:in `map'
> > dryml (1.4.0.pre4) lib/dryml/taglib.rb:10:in `get'
> > dryml (1.4.0.pre4) lib/dryml/dryml_builder.rb:156:in `import_taglib'
> > dryml (1.4.0.pre4) lib/dryml/dryml_builder.rb:114:in `block in build'
> > dryml (1.4.0.pre4) lib/dryml/dryml_builder.rb:114:in `each'
> > dryml (1.4.0.pre4) lib/dryml/dryml_builder.rb:114:in `build'
> > dryml (1.4.0.pre4) lib/dryml/template.rb:73:in `compile'
> > dryml (1.4.0.pre4) lib/dryml.rb:244:in `compile_renderer_class'
> > dryml (1.4.0.pre4) lib/dryml.rb:232:in `make_renderer_class'
> > dryml (1.4.0.pre4) lib/dryml.rb:101:in `page_renderer'
> > dryml (1.4.0.pre4) lib/dryml.rb:72:in `call_render'
> > app/views/admin/users/index.dryml:1:in
> > `_app_views_admin_users_index_dryml___786262590_79407000'
> > actionpack (3.1.4) lib/action_view/template.rb:144:in `block in
> > render'
> > activesupport (3.1.4) lib/active_support/notifications.rb:55:in
> > `instrument'
> > actionpack (3.1.4) lib/action_view/template.rb:142:in `render'
> > actionpack (3.1.4) lib/action_view/renderer/template_renderer.rb:40:in
> > `block (2 levels) in render_template'
> > actionpack (3.1.4) lib/action_view/renderer/abstract_renderer.rb:33:in
> > `block in instrument'
> > activesupport (3.1.4) lib/active_support/notifications.rb:53:in `block
> > in instrument'
> > activesupport (3.1.4) lib/active_support/notifications/instrumenter.rb:
> > 21:in `instrument'
> > activesupport (3.1.4) lib/active_support/notifications.rb:53:in
> > `instrument'
> > actionpack (3.1.4) lib/action_view/renderer/abstract_renderer.rb:33:in
> > `instrument'
> > actionpack (3.1.4) lib/action_view/renderer/template_renderer.rb:39:in
> > `block in render_template'
> > actionpack (3.1.4) lib/action_view/renderer/template_renderer.rb:47:in
> > `render_with_layout'
> > actionpack (3.1.4) lib/action_view/renderer/template_renderer.rb:38:in
> > `render_template'
> > actionpack (3.1.4) lib/action_view/renderer/template_renderer.rb:12:in
> > `block in render'
> > actionpack (3.1.4) lib/action_view/renderer/abstract_renderer.rb:22:in
> > `wrap_formats'
> > actionpack (3.1.4) lib/action_view/renderer/template_renderer.rb:9:in
> > `render'
> > actionpack (3.1.4) lib/action_view/renderer/renderer.rb:36:in
> > `render_template'
> > actionpack (3.1.4) lib/action_view/renderer/renderer.rb:17:in `render'
> > actionpack (3.1.4) lib/abstract_controller/rendering.rb:120:in
> > `_render_template'
> > actionpack (3.1.4) lib/action_controller/metal/streaming.rb:250:in
> > `_render_template'
> > actionpack (3.1.4) lib/abstract_controller/rendering.rb:114:in
> > `render_to_body'
> > actionpack (3.1.4) lib/action_controller/metal/renderers.rb:30:in
> > `render_to_body'
> > actionpack (3.1.4) lib/action_controller/metal/compatibility.rb:43:in
> > `render_to_body'
> > actionpack (3.1.4) lib/abstract_controller/rendering.rb:99:in `render'
> > actionpack (3.1.4) lib/action_controller/metal/rendering.rb:16:in
> > `render'
> > actionpack (3.1.4) lib/action_controller/metal/instrumentation.rb:
> > 40:in `block (2 levels) in render'
> > activesupport (3.1.4) lib/active_support/core_ext/benchmark.rb:5:in
> > `block in ms'
> > /home/scorpio/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:
> > 295:in `realtime'
> > activesupport (3.1.4) lib/active_support/core_ext/benchmark.rb:5:in
> > `ms'
> > actionpack (3.1.4) lib/action_controller/metal/instrumentation.rb:
> > 40:in `block in render'
> > actionpack (3.1.4) lib/action_controller/metal/instrumentation.rb:
> > 78:in `cleanup_view_runtime'
> > activerecord (3.1.4) lib/active_record/railties/controller_runtime.rb:
> > 24:in `cleanup_view_runtime'
> > actionpack (3.1.4) lib/action_controller/metal/instrumentation.rb:
> > 39:in `render'
> > hobo (1.4.0.pre4) lib/hobo/controller/model.rb:839:in
> > `render_with_hobo_model'
> > actionpack (3.1.4) lib/action_controller/metal/implicit_render.rb:
> > 10:in `default_render'
> > actionpack (3.1.4) lib/action_controller/metal/implicit_render.rb:5:in
> > `send_action'
> > actionpack (3.1.4) lib/abstract_controller/base.rb:167:in
> > `process_action'
> > actionpack (3.1.4) lib/action_controller/metal/rendering.rb:10:in
> > `process_action'
> > actionpack (3.1.4) lib/abstract_controller/callbacks.rb:18:in `block
> > in process_action'
> > activesupport (3.1.4) lib/active_support/callbacks.rb:452:in
> > `_run__40240962__process_action__163295093__callbacks'
> > activesupport (3.1.4) lib/active_support/callbacks.rb:386:in
> > `_run_process_action_callbacks'
> > activesupport (3.1.4) lib/active_support/callbacks.rb:81:in
> > `run_callbacks'
> > actionpack (3.1.4) lib/abstract_controller/callbacks.rb:17:in
> > `process_action'
> > actionpack (3.1.4) lib/action_controller/metal/rescue.rb:17:in
> > `process_action'
> > actionpack (3.1.4) lib/action_controller/metal/instrumentation.rb:
> > 30:in `block in process_action'
> > activesupport (3.1.4) lib/active_support/notifications.rb:53:in `block
> > in instrument'
> > activesupport (3.1.4) lib/active_support/notifications/instrumenter.rb:
> > 21:in `instrument'
> > activesupport (3.1.4) lib/active_support/notifications.rb:53:in
> > `instrument'
> > actionpack (3.1.4) lib/action_controller/metal/instrumentation.rb:
> > 29:in `process_action'
> > actionpack (3.1.4) lib/action_controller/metal/params_wrapper.rb:
> > 201:in `process_action'
> > activerecord (3.1.4) lib/active_record/railties/controller_runtime.rb:
> > 18:in `process_action'
> > actionpack (3.1.4) lib/abstract_controller/base.rb:121:in `process'
> > actionpack (3.1.4) lib/abstract_controller/rendering.rb:45:in
> > `process'
> > actionpack (3.1.4) lib/action_controller/metal.rb:193:in `dispatch'
> > actionpack (3.1.4) lib/action_controller/metal/rack_delegation.rb:
> > 14:in `dispatch'
> > actionpack (3.1.4) lib/action_controller/metal.rb:236:in `block in
> > action'
> > actionpack (3.1.4) lib/action_dispatch/routing/route_set.rb:65:in
> > `call'
> > actionpack (3.1.4) lib/action_dispatch/routing/route_set.rb:65:in
> > `dispatch'
> > actionpack (3.1.4) lib/action_dispatch/routing/route_set.rb:29:in
> > `call'
> > rack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `block in call'
> > rack-mount (0.8.3) lib/rack/mount/code_generation.rb:96:in `block in
> > recognize'
> > rack-mount (0.8.3) lib/rack/mount/code_generation.rb:82:in
> > `optimized_each'
> > rack-mount (0.8.3) lib/rack/mount/code_generation.rb:95:in `recognize'
> > rack-mount (0.8.3) lib/rack/mount/route_set.rb:141:in `call'
> > actionpack (3.1.4) lib/action_dispatch/routing/route_set.rb:532:in
> > `call'
> > actionpack (3.1.4) lib/action_dispatch/middleware/
> > best_standards_support.rb:17:in `call'
> > rack (1.3.6) lib/rack/etag.rb:23:in `call'
> > rack (1.3.6) lib/rack/conditionalget.rb:25:in `call'
> > actionpack (3.1.4) lib/action_dispatch/middleware/head.rb:14:in `call'
> > actionpack (3.1.4) lib/action_dispatch/middleware/params_parser.rb:
> > 21:in `call'
> > actionpack (3.1.4) lib/action_dispatch/middleware/flash.rb:247:in
> > `call'
> > rack (1.3.6) lib/rack/session/abstract/id.rb:195:in `context'
> > rack (1.3.6) lib/rack/session/abstract/id.rb:190:in `call'
> > actionpack (3.1.4) lib/action_dispatch/middleware/cookies.rb:331:in
> > `call'
> > activerecord (3.1.4) lib/active_record/query_cache.rb:64:in `call'
> > activerecord (3.1.4) lib/active_record/connection_adapters/abstract/
> > connection_pool.rb:477:in `call'
> > actionpack (3.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in
> > `block in call'
> > activesupport (3.1.4) lib/active_support/callbacks.rb:392:in
> > `_run_call_callbacks'
> > activesupport (3.1.4) lib/active_support/callbacks.rb:81:in
> > `run_callbacks'
> > actionpack (3.1.4) lib/action_dispatch/middleware/callbacks.rb:28:in
> > `call'
> > rails-dev-tweaks (0.6.1)
>
> ...
>
> 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