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 with jqi because 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 stack trace out ... if I
could I probably wouldn't be posting here :(

Now if I have a two word model, I get something else (like
InvoiceDetail)

rows: 20
params:
nd1267614426601
sordasc
actionjqitbl_json
idinvoicedetails__jqitbl-mygrid
page1
rows20
_searchfalse
controllerinvoice_details
searchfalse
sidx
rows,page : 20,1

RuntimeError (Unable to locate model: Invoicedetail):
  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 (194.0ms)
Rendered rescues/_request_and_response (5.4ms)
Rendering rescues/layout (internal_server_error)

Notice how it munged my class name; yikes!

I got in my mind that this had to do with the active record
associations and/or view hints, so I commented those all out.  Same
errors :(

Anyway anybody out there ever seen/battled anything like this?  Oh
yeah, personal NOOB factor w/ hobo: significant.  Rails wise (this is
2.3.4) I've been to a couple of rodeos.

Thx,
Bret

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