ArgumentError in SourceController#update_source
wrong number of arguments (1 for 0)
I try saving a new Article object into the database by writing:
@article = Article.new(:title => new_a.title,
:description => new_a.description,
:source_id => self.id,
:url => new_a.link,
:pub_date => new_a.pubDate)
@article.save
new_a is an array or rss objects from an rss parser that I am 100% positive works fine. self.id refers to the model 'Source' from which this code is pulled from. The 'wrong number of arguments (1 for 0)' doesn't seem to make any sense considering the new method takes a parameter and I know for a fact that each of the attributes that I access from new_a is not nil