Skip to content

Instantly share code, notes, and snippets.

@rmanalan
Created April 10, 2009 00:53
Show Gist options
  • Select an option

  • Save rmanalan/92856 to your computer and use it in GitHub Desktop.

Select an option

Save rmanalan/92856 to your computer and use it in GitHub Desktop.
[~/dev/connect(groups-redesign)] c
Loading development environment (Rails 2.2.2)
SQL (0.2ms) SET SQL_AUTO_IS_NULL=0
Idea Columns (3.8ms) SHOW FIELDS FROM `posts`
Question Columns (2.6ms) SHOW FIELDS FROM `posts`
GroupMessage Columns (2.4ms) SHOW FIELDS FROM `posts`
Message Columns (2.0ms) SHOW FIELDS FROM `posts`
Activity Columns (2.3ms) SHOW FIELDS FROM `activities`
UserProfile Columns (3.8ms) SHOW FIELDS FROM `user_profiles`
>> GroupActivityFeeder.import_rss
Could not load expat; trying libxml.
RssSource Load (0.4ms) SELECT * FROM `rss_sources`
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
RssSource Columns (1.8ms) SHOW FIELDS FROM `rss_sources`
RssSource Columns (1.6ms) SHOW FIELDS FROM `rss_sources`
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
Join Table Columns (1.2ms) SHOW FIELDS FROM `groups_rss_sources`
Group Columns (6.1ms) SHOW FIELDS FROM `groups`
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
RssSource Columns (1.5ms) SHOW FIELDS FROM `rss_sources`
Group Load (0.1ms) SELECT * FROM `groups` INNER JOIN `groups_rss_sources` ON `groups`.id = `groups_rss_sources`.group_id WHERE (`groups_rss_sources`.rss_source_id = 4 )
Join Table Columns (3.0ms) SHOW FIELDS FROM `groups_rss_sources`
RssSource Columns (2.0ms) SHOW FIELDS FROM `rss_sources`
Join Table Columns (1.5ms) SHOW FIELDS FROM `groups_rss_sources`
Group Load (0.1ms) SELECT * FROM `groups` INNER JOIN `groups_rss_sources` ON `groups`.id = `groups_rss_sources`.group_id WHERE (`groups_rss_sources`.rss_source_id = 3 )
Join Table Columns (1.0ms) SHOW FIELDS FROM `groups_rss_sources`
Group Load (0.1ms) SELECT * FROM `groups` INNER JOIN `groups_rss_sources` ON `groups`.id = `groups_rss_sources`.group_id WHERE (`groups_rss_sources`.rss_source_id = 6 )
Group Load (0.1ms) SELECT * FROM `groups` INNER JOIN `groups_rss_sources` ON `groups`.id = `groups_rss_sources`.group_id WHERE (`groups_rss_sources`.rss_source_id = 5 )
/Users/richmanalang/dev/connect/vendor/gems/rfeedparser-0.9.951/lib/rfeedparser/libxml_parser.rb:14: warning: Passing no parameters to XML::SaxParser.new is deprecated. Pass an instance of XML::Parser::Context instead.
XML::SaxParser#string is deprecated. Use XML::SaxParser.string instead
SQL (0.2ms) BEGIN
SQL (0.1ms) COMMIT
FeedPost Columns (3.5ms) SHOW FIELDS FROM `posts`
FeedPost Load (0.2ms) SELECT * FROM `posts` WHERE (`posts`.`guid` = 'http://feeds2.feedburner.com/2115b5df-d737-4d0b-bd6d-e9d852d993b7' AND `posts`.`source_id` = 6) AND ( (`posts`.`type` = 'FeedPost' ) ) LIMIT 1
GroupsPost Columns (1.5ms) SHOW FIELDS FROM `groups_posts`
GroupsPost Load (0.2ms) SELECT * FROM `groups_posts` WHERE (`groups_posts`.`post_id` = 781 AND `groups_posts`.`group_id` = 2) LIMIT 1
/Users/richmanalang/dev/connect/vendor/gems/rfeedparser-0.9.951/lib/rfeedparser/libxml_parser.rb:14: warning: Passing no parameters to XML::SaxParser.new is deprecated. Pass an instance of XML::Parser::Context instead.
XML::SaxParser#string is deprecated. Use XML::SaxParser.string instead
SQL (0.1ms) BEGIN
SQL (0.1ms) COMMIT
FeedPost Load (0.1ms) SELECT * FROM `posts` WHERE (`posts`.`guid` = 'tag:blogs.oracle.com,2009:/otn//72.11148' AND `posts`.`source_id` = 5) AND ( (`posts`.`type` = 'FeedPost' ) ) LIMIT 1
GroupsPost Load (0.1ms) SELECT * FROM `groups_posts` WHERE (`groups_posts`.`post_id` = 787 AND `groups_posts`.`group_id` = 2) LIMIT 1
RssSource Columns (2.3ms) SHOW FIELDS FROM `rss_sources`
Join Table Columns (1.4ms) SHOW FIELDS FROM `groups_rss_sources`
Group Load (0.1ms) SELECT * FROM `groups` INNER JOIN `groups_rss_sources` ON `groups`.id = `groups_rss_sources`.group_id WHERE (`groups_rss_sources`.rss_source_id = 2 )
NameError: uninitialized constant GroupActivityFeeder::GroupActivity
from /Users/richmanalang/dev/connect/vendor/rails/activesupport/lib/active_support/dependencies.rb:102:in `const_missing'
from /Users/richmanalang/dev/connect/lib/group_activity_feeder.rb:67:in `import_rss'
from (irb):1
>> exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment