Looking at the resources defined, twitter_source_twitter_aggregation_methods_path
doesn't exist. Hence, the error.
You can do rake routes
and check the prefixes
to know what all routes exist.
From TwitterAggregationMethods#new
you would be expecting to go to TwitterAggregationMethods#create
, for that pass an instance of source
in the form,
Replace
<%= form_for([@twitter_source, @twitter_aggregation_method]) do |f| %>
with
<%= form_for([@source, @twitter_source, @twitter_aggregation_method]) do |f| %>
and set @source
in the TwitterAggregationMethods#new
.