Bugs: Browse | Submit New | Admin
to_a method is deprecated in result returned by execute method, so next code doesn't work: FeedTools.feed_cache.connection.execute( "SELECT href FROM cached_feeds WHERE " + "last_retrieved < '#{expire_time_string}'").to_a.flatten It returns [#<Mysql::Result...>] execute can be changed to select_values, which returns an array with the column selected. I have attached a patch.
Add A Comment: