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) lib/rails_dev_tweaks/granular_autoload/ > middleware.rb:34:in `call' > rack (1.3.6) lib/rack/sendfile.rb:101:in `call' > actionpack (3.1.4) lib/action_dispatch/middleware/remote_ip.rb:48:in > `call' > actionpack (3.1.4) lib/action_dispatch/middleware/show_exceptions.rb: > 47:in `call' > railties (3.1.4) lib/rails/rack/logger.rb:13:in `call' > config/initializers/quiet_assets.rb:6:in `call_with_quiet_assets' > rack (1.3.6) lib/rack/methodoverride.rb:24:in `call' > rack (1.3.6) lib/rack/runtime.rb:17:in `call' > activesupport (3.1.4) lib/active_support/cache/strategy/local_cache.rb: > 72:in `call' > rack (1.3.6) lib/rack/lock.rb:15:in `call' > actionpack (3.1.4) lib/action_dispatch/middleware/static.rb:61:in > `call' > railties (3.1.4) lib/rails/engine.rb:456:in `call' > railties (3.1.4) lib/rails/application.rb:143:in `call' > rack (1.3.6) lib/rack/content_length.rb:14:in `call' > railties (3.1.4) lib/rails/rack/log_tailer.rb:14:in `call' > rack (1.3.6) lib/rack/handler/webrick.rb:59:in `service' > /home/scorpio/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/ > httpserver.rb:138:in `service' > /home/scorpio/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/ > httpserver.rb:94:in `run' > /home/scorpio/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/ > server.rb:191:in `block in start_thread' > > Request > > Parameters: > > None > > Show session dump > > Show env dump > Response > > Headers: > > None > > On Apr 18, 3:08 pm, Bryan Larsen <[email protected]> wrote: >> There's only been one gem released to rubygems.org: pre4 on Mar 28. >> There are a few fixes for other problems on github master, but >> nothing that affects your problem. >> >> Bryan >> >> >> >> >> >> >> >> On Wed, Apr 18, 2012 at 9:03 AM, Scorpio <[email protected]> wrote: >> > I'm not currently on my work machine but I am 100% certain it does not >> > include that line... btw. I spent half the night trying to figure out >> > what is the name of the 'admin' gem. thanks. I can't verify atm but >> > I'm almost certain that will help. What was the last date that hobo >> > pre gem was updated ? I wonder if I need to reinstall. >> >> > On Apr 18, 1:38 pm, Bryan Larsen <[email protected]> wrote: >> >> I generated a new app using both pre4 and the current github master, >> >> and neither had this problem. >> >> >> It appears that your admin_site.dryml is missing the line: >> >> >> <include gem='hobo_clean_admin'/> >> >> >> Does your admin_site.dryml include this line? If not, we have to >> >> figure out why not. If it does, we have to dig deeper. >> >> >> BRyan >> >> >> On Tue, Apr 17, 2012 at 5:18 PM, Scorpio <[email protected]> wrote: >> >> > Hello, >> >> > I generated an app with an admin subsite, invite only, no email >> >> > confirmation with at least 1 controller public >> >> >> > The page tag works fine for front controller but in the adminsubsite I >> >> > get errors that are pretty much the same for all actions. Going to >> >> > admin/users generates the following errors (log and full stack trace >> >> > in pasties) >> >> >> > Log -http://pastie.org/private/mmj9yfq1om7sney4hebqdg >> >> > stack trace -http://pastie.org/private/gueteqemakku9yydu8apng >> >> >> > -- >> >> > 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 >> >> > athttp://groups.google.com/group/hobousers?hl=en. >> >> > -- >> > 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 >> > athttp://groups.google.com/group/hobousers?hl=en. > > -- > 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. > -- 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.
