title: Rails: Get urls from database?
body: <p>Trying to get into Rails and feedzirra! :) I have stores multiple feed urls into database and have problems to fetch those and get it work feedzirra.
  Urls needs to be like this:</p>
  
  <pre><code>feed_urls = ["http://www.feedurl1.com/feed", "http://www.feedurl2.com/feed"]
  </code></pre>
  
  <p>This is what I got now but it is not working? Why?</p>
  
  <pre><code>  def self.get_feeds
       feed_urls = Feedurls.find(:all, :select =&gt; "url")
       update_from_feeds(feed_urls)
    end
  </code></pre>
  
  <p>Console puts me this:</p>
  
  <pre><code>ruby-1.9.2-p290 :037 &gt; FeedEntry.get_feeds
  Feedurls Load (0.6ms)  SELECT url FROM `feedurls` 
  TypeError: can't convert nil into String
  </code></pre>
  
  <p>Thanks for all help! :)</p>