Rails - initiate RSS feed from within application -
i following railscasts episode feed parsing.
http://railscasts.com/episodes/168-feed-parsing my model call article. want start rss feed when rails application initialized, make following call:
article.update_from_feed("http://feeds.feedburner.com/coindesk") in config/application.rb
however, when start server database error @ line saying article table not exist yet.
where should place code instead such article objects @ initialisation?
Comments
Post a Comment