>From console with log tailing in background:
>> p = Post.first
=> #<Post id: 1, title: "Welcome to Fantasy Earth", body: "<h4>Goals</
h4>\r\n\r\n<p>The goal of this site is to cr...", created_at:
"2009-07-23 19:58:29", updated_at: "2009-07-23 21:46:08", user_id: 1,
comments_count: nil>
>> Post Load (0.5ms) SELECT * FROM "posts" LIMIT 1
vendor/plugins/hobo/hobo/lib/hobo/model.rb:295:in `find_by_sql'
vendor/plugins/hobo/hobo/lib/hobo/model.rb:288:in `find'
p.comments.respond_to?('to_int')
=> false
>> Comment Load (0.3ms) SELECT * FROM "comments" WHERE
>> ("comments".commentable_id = 1 AND "comments".commentable_type = 'Post')
So apparently it's from the respond_to? bug mentioned earlier.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---