There's some cut-and-paste involved from previous, sorta working
versions. I'm looking at line #29, and don't understand it.
What does tag.name mean? The current Tag object? the name field for
that object? Something else?
Didn't you write this to begin with ?
tag.name means call the name method on tag, and the line above says
you're iterating through the tags of the feed.
Well, there was copy/paste from a dummies book (which, of course, was
deprecated) combined with the fact that I've gone back and forth with
subversion revisions due to mucking up a naming convention...
I wish that I'd simply written the view, but that probably wasn't the
case
Yes, this now displays everything correctly, in that I can see which tags
have been associated with a specific feed. That view for the
has_many_through is working.
I forgot that I had installed a plug-in. Ok, my show does now display
the "add tag" button (but only if there are tags not associated with that
feed.) However, clicking on the button results in:
ActiveRecord::HasManyThroughCantAssociateNewRecords in
FeedsController#add_some_tags
Cannot associate new records through 'Feed#memberships' on '#'. Both
records must have an id in order to create the has_many :through record
associating them.