Skip to content

Instantly share code, notes, and snippets.

@howdoicomputer
Created August 2, 2016 20:47
Show Gist options
  • Save howdoicomputer/3e6795ad040b91a58e1a14310b45bafb to your computer and use it in GitHub Desktop.
Save howdoicomputer/3e6795ad040b91a58e1a14310b45bafb to your computer and use it in GitHub Desktop.
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