Now that I've got a stack trace I fixed the model problem by changing
the code in hobo_jqi.rb:
diff --git a/lib/hobo_jqi.rb b/lib/hobo_jqi.rb
index a7b0697..9ff0d85 100644
--- a/lib/hobo_jqi.rb
+++ b/lib/hobo_jqi.rb
@@ -47,7 +47,7 @@ class ApplicationController < ActionController::Base
protect_from_forgery #:secret => '9d4f1430ede93ccb54d2793e523a9c45'
def jqitbl_json
-
+
controller = params["id"] ||= '*'
controller = params["controller"] if (controller=='*')
@@ -59,10 +59,14 @@ class ApplicationController <
ActionController::Base
sidx.gsub!(/[^\w_]/,'')
sord.gsub!(/[^\w_]/,'')
-
+
pmodel = controller.split('__')
- model = pmodel[0].singularize.camelize
+ if params["controller"]
+ model = params["controller"].singularize.camelize
+ else
+ model = pmodel[0].singularize.camelize
+ end
Which gets me the right model name. Now I get my other class of error
(the stack level too deep problem from my initial post):
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:68:in `=='
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:68:in `include?'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:68:in `encode'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:18:in `__send__'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:18:in `encode'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/hash.rb:38:in `to_json'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
attribute_methods.rb:211:in `map'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/hash.rb:37:in `each'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/hash.rb:37:in `map'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/hash.rb:37:in `to_json'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:70:in `encode'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:18:in `__send__'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:18:in `encode'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/hash.rb:38:in `to_json'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
attribute_methods.rb:211:in `map'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/hash.rb:37:in `each'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/hash.rb:37:in `map'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/hash.rb:37:in `to_json'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:70:in `encode'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:18:in `__send__'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:18:in `encode'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/object.rb:4:in `to_json'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
serializers/json_serializer.rb:77:in `to_json'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:70:in `encode'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:18:in `__send__'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoding.rb:18:in `encode'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/enumerable.rb:11:in `to_json'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/enumerable.rb:11:in `map'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/json/
encoders/enumerable.rb:11:in `to_json'
/home/bret/dev/aura/main/aura/portal/AuraBiz/vendor/plugins/hobo-jqi/
lib/hobo_jqi.rb:167:in `jqitbl_json'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
1331:in `send'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
1331:in `perform_action_without_filters'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
filters.rb:617:in `call_filters'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
filters.rb:638:in `run_before_filters'
/var/lib/gems/1.8/gems/hobo-1.0.0/lib/hobo/controller.rb:23:in `call'
/var/lib/gems/1.8/gems/hobo-1.0.0/lib/hobo/controller.rb:23:in
`included_in_class'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/
callbacks.rb:182:in `call'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/
callbacks.rb:182:in `evaluate_method'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
filters.rb:184:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
filters.rb:635:in `run_before_filters'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
filters.rb:615:in `call_filters'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
filters.rb:610:in `perform_action_without_benchmark'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/
benchmark.rb:17:in `ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/
benchmark.rb:17:in `ms'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
benchmarking.rb:68:in `perform_action_without_rescue'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
rescue.rb:160:in `perform_action_without_flash'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/flash.rb:
146:in `perform_action'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
532:in `send'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
532:in `process_without_filters'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
filters.rb:606:in `process'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
391:in `process'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
386:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/
route_set.rb:437:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
dispatcher.rb:87:in `dispatch'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
dispatcher.rb:121:in `_call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
dispatcher.rb:130:in `build_middleware_stack'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
query_cache.rb:29:in `call'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
query_cache.rb:29:in `call'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/query_cache.rb:34:in `cache'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
query_cache.rb:9:in `cache'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
query_cache.rb:28:in `call'
/var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
connection_adapters/abstract/connection_pool.rb:361:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/head.rb:9:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:in
`call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
params_parser.rb:15:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/session/
cookie_store.rb:93:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
failsafe.rb:26:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `synchronize'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
dispatcher.rb:114:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
reloader.rb:34:in `run'
/var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
dispatcher.rb:108:in `call'
/var/lib/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in
`call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `each'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `call'
/var/lib/gems/1.8/gems/rails-2.3.4/lib/rails/rack/debugger.rb:17:in
`call'
/var/lib/gems/1.8/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in
`call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/content_length.rb:13:in
`call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/chunked.rb:15:in `call'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:61:in
`process'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
`process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
`process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
`initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
`initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:34:in
`run'
/var/lib/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
On Mar 8, 5:53 am, bretweinraub <[email protected]> wrote:
> A little more information.
>
> Decided to toy with this in Firefox/Firebug instead of in Chrome.
> This revealed a little more information:
>
> First off ; here's the URL generated out of jquery:
>
> http://ubuntu:3000/billing_details/jqitbl_json/billingdetails__jqitbl...
>
> And the stack trace (thank you firebug!)
>
> .../vendor/plugins/hobo-jqi/lib/hobo_jqi.rb:200:in `jqitbl_json'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
> 1331:in `send'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
> 1331:in `perform_action_without_filters'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> filters.rb:617:in `call_filters'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> filters.rb:638:in `run_before_filters'
> /var/lib/gems/1.8/gems/hobo-1.0.0/lib/hobo/controller.rb:23:in `call'
> /var/lib/gems/1.8/gems/hobo-1.0.0/lib/hobo/controller.rb:23:in
> `included_in_class'
> /var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/
> callbacks.rb:182:in `call'
> /var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/
> callbacks.rb:182:in `evaluate_method'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> filters.rb:184:in `call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> filters.rb:635:in `run_before_filters'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> filters.rb:615:in `call_filters'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> filters.rb:610:in `perform_action_without_benchmark'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> benchmarking.rb:68:in `perform_action_without_rescue'
> /var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/
> benchmark.rb:17:in `ms'
> /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
> /var/lib/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/
> benchmark.rb:17:in `ms'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> benchmarking.rb:68:in `perform_action_without_rescue'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> rescue.rb:160:in `perform_action_without_flash'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/flash.rb:
> 146:in `perform_action'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
> 532:in `send'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
> 532:in `process_without_filters'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> filters.rb:606:in `process'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
> 391:in `process'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:
> 386:in `call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/
> route_set.rb:437:in `call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> dispatcher.rb:87:in `dispatch'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> dispatcher.rb:121:in `_call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> dispatcher.rb:130:in `build_middleware_stack'
> /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
> query_cache.rb:29:in `call'
> /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
> query_cache.rb:29:in `call'
> /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
> connection_adapters/abstract/query_cache.rb:34:in `cache'
> /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
> query_cache.rb:9:in `cache'
> /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
> query_cache.rb:28:in `call'
> /var/lib/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
> connection_adapters/abstract/connection_pool.rb:361:in `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/head.rb:9:in `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/methodoverride.rb:24:in
> `call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> params_parser.rb:15:in `call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/session/
> cookie_store.rb:93:in `call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> failsafe.rb:26:in `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `synchronize'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/lock.rb:11:in `call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> dispatcher.rb:114:in `call'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> reloader.rb:34:in `run'
> /var/lib/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/
> dispatcher.rb:108:in `call'
> /var/lib/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in
> `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `each'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in `call'
> /var/lib/gems/1.8/gems/rails-2.3.4/lib/rails/rack/debugger.rb:17:in
> `call'
> /var/lib/gems/1.8/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in
> `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/content_length.rb:13:in
> `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/chunked.rb:15:in `call'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:61:in
> `process'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
> `process_client'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
> `process_client'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `initialize'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `initialize'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
> /var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
> /var/lib/gems/1.8/gems/rack-1.0.0/lib/rack/handler/mongrel.rb:34:in
> `run'
> /var/lib/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111
> /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
> script/server:3
>
> On Mar 5, 9:18 am, bretweinraub <[email protected]> wrote:
>
>
>
> > Thanks for the input. I'll investigate over the weekend and post my
> > findings.
>
> > Thanks,
> > Bret
>
> > On Mar 4, 10:19 am, Brett Nelson <[email protected]> wrote:
>
> > > Also it looks like you are adding it to the frontpage which is not a
> > > typical index page (with impicit db table context) so that is probably
> > > why it is not working.
>
> > > Brett
>
> > > On Mar 4, 10:12 am, Brett Nelson <[email protected]> wrote:
>
> > > > Tried the DRYML code in the first thread message and it worked, but
> > > > would probably be better to include the JS like this.
> > > > <index-page>
> > > > <append-scripts:>
> > > > <jqgrid-includes theme="smoothness"/>
> > > > </append-scripts:>
> > > > ....
>
> > > > This plugin was built more as a demonstration to generate interest in
> > > > using a grid like this with hobo, but be aware that it is not fully
> > > > developed so may not work in something more complex than a simple
> > > > index page.
>
> > > > Brett
>
> > > > On Mar 4, 9:53 am, Owen Dall <[email protected]> wrote:
>
> > > > > Yes, please share what you find.
>
> > > > > On Thu, Mar 4, 2010 at 11:42 AM, Brett Nelson
> > > > > <[email protected]>wrote:
>
> > > > > > I just tested with 1.0 and it is working for me, show me your code,
> > > > > > if
> > > > > > it is complex create the simplest example that creates the problem
> > > > > > and
> > > > > > I will try to recreate it.
>
> > > > > > Brett
>
> > > > > > On Mar 4, 2:13 am, bretweinraub <[email protected]> wrote:
> > > > > > > Tested now w/ both Hobo 0.9 and Hobo 1.0 ; same results.
>
> > > > > > > Any suggestions on how to get the whole stack trace out of this
> > > > > > > baby?
>
> > > > > > > On Mar 3, 4:12 am, bretweinraub <[email protected]> wrote:
>
> > > > > > > > Here's my index page if it helps:
>
> > > > > > > > <page>
> > > > > > > > <body: class="front-page"/>
> > > > > > > > <content:>
> > > > > > > > <header class="content-header">
> > > > > > > > <jqi-grid-includes theme="smoothness"/>
> > > > > > > > </header>
> > > > > > > > <jqi-grid id="mygrid"/>
> > > > > > > > </content:>
> > > > > > > > </page>
>
> > > > > > > > But it always renders no data....... (and some mysterious server
> > > > > > > > errors, see below).
>
> > > > > > > > I wonder if I'm having this problem withjqibecause I upgraded my
> > > > > > > > hobo gems to 1.0.
>
> > > > > > > > Anyway I get two different kind of errors, depending on the
> > > > > > > > type of
> > > > > > > > model I have.
>
> > > > > > > > If the model name is one word (like Customer), I get this from
> > > > > > > > the
> > > > > > > > server (mongrel):
>
> > > > > > > > rows: 20
> > > > > > > > params:
> > > > > > > > nd1267613894075
> > > > > > > > sordasc
> > > > > > > > actionjqitbl_json
> > > > > > > > idcustomers__jqitbl-mygrid
> > > > > > > > page1
> > > > > > > > rows20
> > > > > > > > _searchfalse
> > > > > > > > controllercustomers
> > > > > > > > searchfalse
> > > > > > > > sidx
> > > > > > > > rows,page : 20,1
> > > > > > > > Customer.count(:all)
> > > > > > > > [4;36;1mSQL (2.7ms) [0m [0;1mSELECT count(*) AS count_all
> > > > > > > > FROM
> > > > > > > > "customers" [0m
> > > > > > > > !!!Customer.find(:all,:limit => 20,:offset => 0)
> > > > > > > > [4;35;1mCustomer Load (0.9ms) [0m [0mSELECT * FROM
> > > > > > > > "customers"
> > > > > > > > LIMIT 20 OFFSET 0 [0m
> > > > > > > > ASAP
> > > > > > > > Ckuru
> > > > > > > > Aura Software LLC
>
> > > > > > > > SystemStackError (stack level too deep):
> > > > > > > > hobo (1.0.0) lib/hobo/controller.rb:23:in `call'
> > > > > > > > hobo (1.0.0) lib/hobo/controller.rb:23:in `included_in_class'
>
> > > > > > > > Rendered rescues/_trace (433.8ms)
> > > > > > > > Rendered rescues/_request_and_response (0.9ms)
> > > > > > > > Rendering rescues/layout (internal_server_error)
>
> > > > > > > > For the life of me I can't beat the whole
>
> ...
>
> 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.