Created
August 2, 2016 20:47
-
-
Save howdoicomputer/3e6795ad040b91a58e1a14310b45bafb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TypeError (no implicit conversion of nil into String): | |
app/models/feed.rb:14:in `update' | |
app/controllers/feeds_controller.rb:24:in `create | |
def update | |
#prase the url as an rss feed | |
open(@url) do |rss| | |
getFeed = RSS::Parser.parse(rss) | |
#save the title of the feed | |
@title = getFeed.channel.title | |
# It looks like something is wrong with @url... possibly a nil value? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment